Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supSig.TSup|supSig.TSupSet|supSig.uTSup|supSig.yHea|supSig.yCoo|supSig1.TSup|supSig1.uTSup|supSig1.yHea",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|supSig.TSup|supSig.TSupSet|supSig.uTSup|supSig.yHea|supSig.yCoo|supSig1.TSup|supSig1.uTSup|supSig1.yHea",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve") [: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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009652/0.000965, allocations: 184.6 kB / 487 MB, free: 5.422 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 91.06 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.412e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4805/0.6514, allocations: 151.4 MB / 1.353 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001924/0.6516, allocations: 77.78 kB / 1.353 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02543/0.677, allocations: 10.75 MB / 1.364 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.6771, allocations: 20 kB / 1.364 GB, free: 12.62 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001103/0.6782, allocations: 0.8965 MB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.6783, allocations: 8.031 kB / 1.365 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.6784, allocations: 90.97 kB / 1.365 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/0.6789, allocations: 482.4 kB / 1.365 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6789, allocations: 20 kB / 1.365 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.679, allocations: 47.38 kB / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006345/0.6797, allocations: 413.3 kB / 1.366 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.6804, allocations: 0.5293 MB / 1.366 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.6804, allocations: 0 / 1.366 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.6804, allocations: 4 kB / 1.366 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6805, allocations: 19.94 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002156/0.6826, allocations: 1.93 MB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.6833, allocations: 0.6306 MB / 1.369 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.6835, allocations: 202 kB / 1.369 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.6836, allocations: 16.36 kB / 1.369 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002787/0.6839, allocations: 269.8 kB / 1.369 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=49): time 1.563e-06/0.6839, allocations: 0 / 1.369 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49): time 0.0005032/0.6844, allocations: 362.7 kB / 1.369 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.6844, allocations: 210.1 kB / 1.37 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.6847, allocations: 353.1 kB / 1.37 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.6848, allocations: 25.7 kB / 1.37 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6849, allocations: 271.9 kB / 1.37 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.6849, allocations: 150.2 kB / 1.37 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.685, allocations: 0 / 1.37 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.685, allocations: 364.3 kB / 1.371 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.6853, allocations: 150.9 kB / 1.371 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.6855, allocations: 255.9 kB / 1.371 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.6859, allocations: 180.1 kB / 1.371 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6859, allocations: 4 kB / 1.371 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000685/0.6866, allocations: 471.8 kB / 1.372 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.872e-05/0.6867, allocations: 359.6 kB / 1.372 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6867, allocations: 4 kB / 1.372 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6867, allocations: 0 / 1.372 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.6871, allocations: 111.3 kB / 1.372 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.6871, allocations: 7.938 kB / 1.372 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.6876, allocations: 115.6 kB / 1.372 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.6876, allocations: 25.73 kB / 1.372 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-06/0.6876, allocations: 0 / 1.372 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005891/0.6882, allocations: 376.7 kB / 1.373 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.6883, allocations: 7.906 kB / 1.373 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.6883, allocations: 4 kB / 1.373 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.6886, allocations: 95.48 kB / 1.373 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.6886, allocations: 0 / 1.373 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.689, allocations: 102.9 kB / 1.373 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.689, allocations: 19.48 kB / 1.373 GB, free: 4.777 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.supFanSta.y,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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.165e-05/0.6891, allocations: 116.9 kB / 1.373 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.6892, allocations: 51.34 kB / 1.373 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.6897, allocations: 388.7 kB / 1.374 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.6897, allocations: 4 kB / 1.374 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6897, allocations: 4 kB / 1.374 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6898, allocations: 0 / 1.374 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6909, allocations: 1.13 MB / 1.375 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6909, allocations: 4 kB / 1.375 GB, free: 3.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.6913, allocations: 94.89 kB / 1.375 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6913, allocations: 8 kB / 1.375 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.6913, allocations: 11.61 kB / 1.375 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6913, allocations: 7.938 kB / 1.375 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6913, allocations: 0 / 1.375 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006883/0.692, allocations: 0.7206 MB / 1.375 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.6921, allocations: 138.9 kB / 1.376 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.6922, allocations: 0 / 1.376 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.6925, allocations: 59.08 kB / 1.376 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.6925, allocations: 27.72 kB / 1.376 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.6926, allocations: 19.42 kB / 1.376 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001936/0.6928, allocations: 263.3 kB / 1.376 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005284/0.6933, allocations: 234.8 kB / 1.376 GB, free: 2.133 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (supSig.conTSup.I.y,supSig1.conTSup.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,supFanSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0001463/0.6934, allocations: 133.7 kB / 1.376 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007526/0.6942, allocations: 0.6534 MB / 1.377 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6942, allocations: 0 / 1.377 GB, free: 1.531 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6944, allocations: 183 kB / 1.377 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.695, allocations: 109.3 kB / 1.377 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.6962, allocations: 0.7422 MB / 1.378 GB, free: 0.6445 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/0.6968, allocations: 0.9564 MB / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.6968, allocations: 3.938 kB / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of Templates: time 0.01324/0.71, allocations: 8.52 MB / 1.387 GB, free: 7.285 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches