Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.347/2.347, allocations: 393.5 MB / 408.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 179.4 kB / 0.4902 GB, free: 2.285 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 96.33 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003688, allocations: 17.33 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3087, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.5131, allocations: 152.5 MB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5134, allocations: 75.95 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02383/0.5373, allocations: 9.204 MB / 1.387 GB, free: 7.641 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5373, allocations: 3.938 kB / 1.387 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.547e-05/0.5374, allocations: 12 kB / 1.387 GB, free: 7.625 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001852/0.5392, allocations: 0.8347 MB / 1.388 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5393, allocations: 12.83 kB / 1.388 GB, free: 6.723 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.5395, allocations: 67.23 kB / 1.388 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.5402, allocations: 404.9 kB / 1.389 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.5403, allocations: 37 kB / 1.389 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5404, allocations: 55.98 kB / 1.389 GB, free: 6.129 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.5415, allocations: 0.5146 MB / 1.389 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5416, allocations: 4 kB / 1.389 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/0.5416, allocations: 23.98 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5416, allocations: 11.94 kB / 1.389 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.5427, allocations: 439.7 kB / 1.39 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.5454, allocations: 1.636 MB / 1.391 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5467, allocations: 0.632 MB / 1.392 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/0.5467, allocations: 8.281 kB / 1.392 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000655/0.5474, allocations: 270.9 kB / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 1.913e-05/0.5474, allocations: 3.984 kB / 1.392 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001418/0.5489, allocations: 0.5823 MB / 1.393 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.5489, allocations: 110.8 kB / 1.393 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/0.5494, allocations: 385.1 kB / 1.393 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.366e-05/0.5495, allocations: 37.7 kB / 1.393 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.5497, allocations: 252.5 kB / 1.393 GB, free: 1.066 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5499, allocations: 118.3 kB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.5499, allocations: 4 kB / 1.394 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.5501, allocations: 362.7 kB / 1.394 GB, free: 0.582 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.5505, allocations: 180.2 kB / 1.394 GB, free: 412 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.5511, allocations: 257 kB / 1.394 GB, free: 128 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005009/0.5516, allocations: 218.9 kB / 1.394 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5516, allocations: 4 kB / 1.394 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001132/0.5527, allocations: 0.5332 MB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.553, allocations: 482.6 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.553, allocations: 4 kB / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.553, allocations: 0 / 1.395 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.5534, allocations: 95.88 kB / 1.396 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5534, allocations: 3.938 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.5539, allocations: 107.6 kB / 1.396 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.554, allocations: 16 kB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.554, allocations: 4 kB / 1.396 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008403/0.5548, allocations: 417.4 kB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5549, allocations: 0 / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.5549, allocations: 4 kB / 1.396 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.5551, allocations: 75.83 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5552, allocations: 4 kB / 1.396 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5556, allocations: 91.62 kB / 1.396 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.5556, allocations: 19.95 kB / 1.396 GB, free: 14.01 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.5559, allocations: 269 kB / 1.397 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.556, allocations: 43.44 kB / 1.397 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.5561, allocations: 48.53 kB / 1.397 GB, free: 13.65 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.5561, allocations: 4 kB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.5561, allocations: 0 / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5561, allocations: 3.984 kB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5579, allocations: 1.106 MB / 1.398 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.558, allocations: 3.984 kB / 1.398 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.5583, allocations: 87.83 kB / 1.398 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.5584, allocations: 4 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.5584, allocations: 4 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5584, allocations: 7.953 kB / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5584, allocations: 0 / 1.398 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.5599, allocations: 0.745 MB / 1.399 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.5601, allocations: 136.4 kB / 1.399 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/0.5601, allocations: 4 kB / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.5604, allocations: 44.03 kB / 1.399 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.5605, allocations: 31.91 kB / 1.399 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.5605, allocations: 12 kB / 1.399 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003843/0.5609, allocations: 303.1 kB / 1.399 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5609, allocations: 0 / 1.399 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006179/0.5615, allocations: 191.4 kB / 1.399 GB, free: 10.88 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.5618, allocations: 119.6 kB / 1.399 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.5634, allocations: 0.7564 MB / 1.4 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5634, allocations: 0 / 1.4 GB, free: 9.977 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.5639, allocations: 208 kB / 1.4 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.5644, allocations: 94.3 kB / 1.4 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5661, allocations: 1.02 MB / 1.401 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.5665, allocations: 0.8471 MB / 1.402 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.5668, allocations: 59.41 kB / 1.402 GB, free: 7.699 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5669, allocations: 39.42 kB / 1.402 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of SimCode: time 4e-07/0.5669, allocations: 0 / 1.402 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of Templates: time 0.01058/0.5775, allocations: 5.553 MB / 1.408 GB, free: 2.199 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches