Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.786/1.786, allocations: 387.2 MB / 394.5 MB, free: 4.602 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009781/0.0009781, allocations: 184.9 kB / 487 MB, free: 11.13 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 4.082 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008468, allocations: 101.6 kB / 0.9213 GB, free: 5.184 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.502e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1786, allocations: 142.3 MB / 1.205 GB, free: 14.77 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4924/0.6711, allocations: 150.9 MB / 1.353 GB, free: 1.355 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.6713, allocations: 71.95 kB / 1.353 GB, free: 1.285 MB / 0.8153 GB Notification: Performance of FrontEnd: time 0.02022/0.6915, allocations: 8.848 MB / 1.361 GB, free: 8.445 MB / 0.8309 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.6915, allocations: 15.98 kB / 1.361 GB, free: 8.43 MB / 0.8309 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.0009671/0.6925, allocations: 0.7753 MB / 1.362 GB, free: 7.605 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.6926, allocations: 12.02 kB / 1.362 GB, free: 7.594 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6927, allocations: 67.16 kB / 1.362 GB, free: 7.527 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.6932, allocations: 407.5 kB / 1.363 GB, free: 7.086 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.6932, allocations: 12 kB / 1.363 GB, free: 7.074 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.6933, allocations: 32 kB / 1.363 GB, free: 7.043 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004858/0.6938, allocations: 282 kB / 1.363 GB, free: 6.766 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.6943, allocations: 401.1 kB / 1.363 GB, free: 6.355 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6944, allocations: 3.906 kB / 1.363 GB, free: 6.352 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.6944, allocations: 0 / 1.363 GB, free: 6.352 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.6944, allocations: 12 kB / 1.363 GB, free: 6.34 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.6963, allocations: 1.534 MB / 1.365 GB, free: 4.758 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.6969, allocations: 498.2 kB / 1.365 GB, free: 4.227 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.6973, allocations: 226.4 kB / 1.365 GB, free: 4.004 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.6974, allocations: 8.266 kB / 1.365 GB, free: 3.996 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.6976, allocations: 179.4 kB / 1.366 GB, free: 3.809 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.6976, allocations: 0 / 1.366 GB, free: 3.809 MB / 0.8309 GB Notification: Performance of matching and sorting (n=37): time 0.0004791/0.6981, allocations: 284.6 kB / 1.366 GB, free: 3.523 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.6982, allocations: 110.8 kB / 1.366 GB, free: 3.391 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.6985, allocations: 294 kB / 1.366 GB, free: 3.098 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 3.47e-05/0.6985, allocations: 25.7 kB / 1.366 GB, free: 3.066 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6986, allocations: 216.1 kB / 1.367 GB, free: 2.852 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.6987, allocations: 114.3 kB / 1.367 GB, free: 2.738 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.6988, allocations: 4 kB / 1.367 GB, free: 2.734 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6989, allocations: 350.8 kB / 1.367 GB, free: 2.383 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.6991, allocations: 108.3 kB / 1.367 GB, free: 2.273 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.6993, allocations: 180.7 kB / 1.367 GB, free: 2.07 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.6996, allocations: 135.9 kB / 1.367 GB, free: 1.938 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6996, allocations: 0 / 1.367 GB, free: 1.938 MB / 0.8309 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006237/0.7003, allocations: 364.5 kB / 1.368 GB, free: 1.574 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.7005, allocations: 456.9 kB / 1.368 GB, free: 1.094 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7005, allocations: 7.938 kB / 1.368 GB, free: 1.086 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7005, allocations: 4 kB / 1.368 GB, free: 1.082 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.7009, allocations: 91.89 kB / 1.368 GB, free: 0.9922 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.7009, allocations: 4 kB / 1.368 GB, free: 0.9883 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.7013, allocations: 103.7 kB / 1.368 GB, free: 0.8867 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.7013, allocations: 23.97 kB / 1.368 GB, free: 0.8633 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/0.7014, allocations: 4 kB / 1.368 GB, free: 0.8594 MB / 0.8309 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005704/0.7019, allocations: 279.5 kB / 1.369 GB, free: 0.5859 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.702, allocations: 0 / 1.369 GB, free: 0.5859 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.702, allocations: 4 kB / 1.369 GB, free: 0.582 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.7022, allocations: 83.95 kB / 1.369 GB, free: 0.5 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7023, allocations: 8 kB / 1.369 GB, free: 0.4922 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.7026, allocations: 87.69 kB / 1.369 GB, free: 416 kB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.7027, allocations: 12 kB / 1.369 GB, free: 404 kB / 0.8309 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 0.0001158/0.7028, allocations: 117.2 kB / 1.369 GB, free: 280 kB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.7029, allocations: 35.53 kB / 1.369 GB, free: 244 kB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.703, allocations: 44 kB / 1.369 GB, free: 196 kB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.703, allocations: 4 kB / 1.369 GB, free: 192 kB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.703, allocations: 0 / 1.369 GB, free: 192 kB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.703, allocations: 7.984 kB / 1.369 GB, free: 184 kB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.7041, allocations: 0.8807 MB / 1.37 GB, free: 15.25 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7042, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.7045, allocations: 83.89 kB / 1.37 GB, free: 15.17 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.7045, allocations: 0 / 1.37 GB, free: 15.17 MB / 0.8466 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.7046, allocations: 3.984 kB / 1.37 GB, free: 15.17 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7046, allocations: 4 kB / 1.37 GB, free: 15.16 MB / 0.8466 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7046, allocations: 0 / 1.37 GB, free: 15.16 MB / 0.8466 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006674/0.7052, allocations: 0.5381 MB / 1.371 GB, free: 14.61 MB / 0.8466 GB Notification: Performance of postOpt removeConstants (simulation): time 7.302e-05/0.7053, allocations: 120.5 kB / 1.371 GB, free: 14.47 MB / 0.8466 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.947e-05/0.7054, allocations: 3.984 kB / 1.371 GB, free: 14.47 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.7057, allocations: 40.03 kB / 1.371 GB, free: 14.43 MB / 0.8466 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.7057, allocations: 23.97 kB / 1.371 GB, free: 14.41 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.7058, allocations: 11.98 kB / 1.371 GB, free: 14.39 MB / 0.8466 GB Notification: Performance of sort global known variables: time 0.0001977/0.706, allocations: 232.5 kB / 1.371 GB, free: 14.17 MB / 0.8466 GB Notification: Performance of remove unused functions: time 0.0004728/0.7064, allocations: 171.2 kB / 1.371 GB, free: 14 MB / 0.8466 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.0001806/0.7066, allocations: 130.9 kB / 1.371 GB, free: 13.86 MB / 0.8466 GB Notification: Performance of simCode: created initialization part: time 0.0006845/0.7073, allocations: 0.5018 MB / 1.372 GB, free: 13.35 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.7073, allocations: 0 / 1.372 GB, free: 13.35 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.7075, allocations: 139.6 kB / 1.372 GB, free: 13.21 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.708, allocations: 89.58 kB / 1.372 GB, free: 13.13 MB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.7092, allocations: 0.6048 MB / 1.373 GB, free: 12.49 MB / 0.8466 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.7096, allocations: 0.8896 MB / 1.373 GB, free: 11.57 MB / 0.8466 GB Notification: Performance of SimCode: time 2.51e-07/0.7096, allocations: 0 / 1.373 GB, free: 11.57 MB / 0.8466 GB Notification: Performance of Templates: time 0.01061/0.7202, allocations: 6.705 MB / 1.38 GB, free: 4.961 MB / 0.8466 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches