Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007823/0.007823, allocations: 102.2 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 195.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 62.94 kB / 0.9505 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3209, allocations: 140.4 MB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan): time 0.003359/0.3243, allocations: 1.177 MB / 1.089 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3267, allocations: 0.9988 MB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.3272, allocations: 7.938 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3275, allocations: 23.67 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3278, allocations: 31.66 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.3284, allocations: 95.91 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006094/0.329, allocations: 259.1 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3294, allocations: 119.5 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3296, allocations: 79.72 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3298, allocations: 95.53 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.3299, allocations: 28 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.362e-05/0.3299, allocations: 24 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.33, allocations: 51.83 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.3301, allocations: 99.47 kB / 1.091 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.3306, allocations: 334.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3306, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3306, allocations: 0 / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.3306, allocations: 3.938 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008672/0.3315, allocations: 0.4992 MB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3315, allocations: 15.97 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.3316, allocations: 50.73 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.3317, allocations: 24.66 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.3322, allocations: 284.3 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3322, allocations: 16.75 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3322, allocations: 20.38 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.3327, allocations: 226.3 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3327, allocations: 3.938 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.3328, allocations: 8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3328, allocations: 7.984 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.3332, allocations: 168.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3344, allocations: 0.6994 MB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3347, allocations: 90.55 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3348, allocations: 48.83 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3348, allocations: 192 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3349, allocations: 38.44 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3349, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005108/0.3354, allocations: 173.4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3355, allocations: 51.41 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.3357, allocations: 219.1 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3357, allocations: 29.7 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3358, allocations: 155.8 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.3359, allocations: 35.55 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.3359, allocations: 33.7 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3361, allocations: 326.8 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3362, allocations: 47.97 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3364, allocations: 95.05 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3367, allocations: 147.1 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3367, allocations: 384 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003916/0.3371, allocations: 181.4 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.3371, allocations: 11.94 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3371, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3371, allocations: 7.938 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3373, allocations: 31.98 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3373, allocations: 3.938 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3375, allocations: 23.83 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3375, allocations: 4 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.3376, allocations: 137.8 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.3377, allocations: 19.75 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.338, allocations: 155 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3381, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3381, allocations: 4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3381, allocations: 0 / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.3388, allocations: 0.5202 MB / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3388, allocations: 0 / 1.095 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.339, allocations: 23.98 kB / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.339, allocations: 0 / 1.095 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.339, allocations: 11.98 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.339, allocations: 0 / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.339, allocations: 3.938 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.3394, allocations: 257.8 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.3394, allocations: 100.9 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3395, allocations: 0 / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3396, allocations: 19.98 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3397, allocations: 11.92 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3397, allocations: 11.94 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001395/0.3398, allocations: 160.6 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3398, allocations: 0 / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002867/0.3401, allocations: 35.84 kB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006903/0.3408, allocations: 0.8006 MB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3412, allocations: 123.9 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3412, allocations: 4.031 kB / 1.097 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3413, allocations: 59.84 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.3417, allocations: 36.42 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3442, allocations: 2.033 MB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.3445, allocations: 0.7281 MB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.3446, allocations: 29.52 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.3447, allocations: 59.42 kB / 1.1 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3447, allocations: 4 kB / 1.1 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.3658, allocations: 3.734 MB / 1.103 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.28/8.646, allocations: 9.969 kB / 1.103 GB, free: 1.434 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Modulations_Validation_ReturnFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Modulations.Validation.ReturnFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches