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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.678/1.678, allocations: 390.4 MB / 397.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 184.5 kB / 490.8 MB, free: 11.21 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.041/1.041, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 96.17 kB / 0.9264 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.072e-06, allocations: 0 / 1.072 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4408, allocations: 143 MB / 1.212 GB, free: 53.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5829, allocations: 151.7 MB / 1.36 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.5832, allocations: 78.03 kB / 1.36 GB, free: 2.227 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.01993/0.6031, allocations: 8.858 MB / 1.368 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.6031, allocations: 12 kB / 1.368 GB, free: 9.363 MB / 0.8698 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.0009357/0.6041, allocations: 0.7792 MB / 1.369 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.6041, allocations: 8.031 kB / 1.369 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.6042, allocations: 67.16 kB / 1.369 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.6047, allocations: 407.5 kB / 1.37 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.6048, allocations: 16 kB / 1.37 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6048, allocations: 32 kB / 1.37 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004712/0.6053, allocations: 289.9 kB / 1.37 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.6059, allocations: 405 kB / 1.37 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6059, allocations: 0 / 1.37 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.6059, allocations: 3.906 kB / 1.37 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.6059, allocations: 12 kB / 1.37 GB, free: 7.266 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.6078, allocations: 1.522 MB / 1.372 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.6084, allocations: 0.4903 MB / 1.372 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.6088, allocations: 230.1 kB / 1.373 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.6088, allocations: 4.281 kB / 1.373 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.6091, allocations: 179.1 kB / 1.373 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.6091, allocations: 0 / 1.373 GB, free: 4.742 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.0004326/0.6095, allocations: 288.9 kB / 1.373 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6096, allocations: 106.8 kB / 1.373 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.6098, allocations: 290 kB / 1.373 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.6099, allocations: 29.7 kB / 1.373 GB, free: 4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.61, allocations: 212.1 kB / 1.374 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.6101, allocations: 122.2 kB / 1.374 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.6101, allocations: 0 / 1.374 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.6102, allocations: 350.8 kB / 1.374 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.6104, allocations: 108.3 kB / 1.374 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.6106, allocations: 180 kB / 1.374 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.6109, allocations: 139.7 kB / 1.375 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6109, allocations: 4 kB / 1.375 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005922/0.6115, allocations: 356.7 kB / 1.375 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.6117, allocations: 457 kB / 1.375 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6117, allocations: 0 / 1.375 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6117, allocations: 8 kB / 1.375 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.612, allocations: 91.88 kB / 1.375 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6121, allocations: 7.938 kB / 1.375 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.6125, allocations: 107.6 kB / 1.376 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.6125, allocations: 19.98 kB / 1.376 GB, free: 1.797 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.789e-06/0.6125, allocations: 4 kB / 1.376 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005007/0.613, allocations: 283.3 kB / 1.376 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.613, allocations: 0 / 1.376 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-06/0.613, allocations: 7.984 kB / 1.376 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.6133, allocations: 71.91 kB / 1.376 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.6133, allocations: 8.125 kB / 1.376 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.6137, allocations: 83.69 kB / 1.376 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6137, allocations: 19.98 kB / 1.376 GB, free: 1.328 MB / 0.8698 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 () * 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 9.802e-05/0.6138, allocations: 119.4 kB / 1.376 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.6139, allocations: 35.53 kB / 1.376 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.524e-05/0.6139, allocations: 40.09 kB / 1.376 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.614, allocations: 7.906 kB / 1.376 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.614, allocations: 0 / 1.376 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.614, allocations: 7.984 kB / 1.376 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/0.6149, allocations: 0.8654 MB / 1.377 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6149, allocations: 4 kB / 1.377 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.6153, allocations: 87.88 kB / 1.377 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6153, allocations: 0 / 1.377 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.6153, allocations: 4 kB / 1.377 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.6153, allocations: 4 kB / 1.377 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6153, allocations: 0 / 1.377 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006045/0.6159, allocations: 0.5349 MB / 1.378 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.616, allocations: 128.6 kB / 1.378 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.6161, allocations: 0 / 1.378 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.6163, allocations: 39.97 kB / 1.378 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.6164, allocations: 19.97 kB / 1.378 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.6164, allocations: 15.98 kB / 1.378 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001883/0.6166, allocations: 228.6 kB / 1.378 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004458/0.6171, allocations: 175.1 kB / 1.378 GB, free: 14.94 MB / 0.8855 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 () * 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.0001406/0.6172, allocations: 127.1 kB / 1.378 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006604/0.6179, allocations: 0.5011 MB / 1.379 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6179, allocations: 0 / 1.379 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.6181, allocations: 139.9 kB / 1.379 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.6185, allocations: 89.62 kB / 1.379 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.6196, allocations: 0.6048 MB / 1.38 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.62, allocations: 0.8896 MB / 1.381 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.6201, allocations: 0 / 1.381 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of Templates: time 0.01019/0.6302, allocations: 6.711 MB / 1.387 GB, free: 5.898 MB / 0.8855 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