Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.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.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooVal.TOut|cooVal.TSupSet|cooVal.TSup|cooVal.uFanSta|cooVal.yCooVal|cooVal1.TOut|cooVal1.TSupSet|cooVal1.TSup|cooVal1.uFanSta|cooVal1.yCooVal|cooVal2.TOut|cooVal2.TSupSet|cooVal2.TSup|cooVal2.uFanSta|cooVal2.yCooVal|cooVal3.TOut|cooVal3.TSupSet|cooVal3.TSup|cooVal3.uFanSta|cooVal3.yCooVal|cooVal3.higLim.y|cooVal3.limPI.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve") [: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.928/1.928, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001041/0.001041, allocations: 173.3 kB / 490.8 MB, free: 1.934 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.259/1.259, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.00093/0.00093, allocations: 92.72 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.625e-06/7.665e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2812, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7943/1.076, allocations: 154.8 MB / 1.363 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/1.076, allocations: 86.67 kB / 1.363 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.06334/1.139, allocations: 22.39 MB / 1.385 GB, free: 12.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002274/1.14, allocations: 36.22 kB / 1.385 GB, free: 12.51 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.005202/1.145, allocations: 1.617 MB / 1.386 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.145, allocations: 12.94 kB / 1.386 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.146, allocations: 196.3 kB / 1.386 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003613/1.15, allocations: 1.14 MB / 1.388 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/1.15, allocations: 45.28 kB / 1.388 GB, free: 26.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/1.15, allocations: 92.69 kB / 1.388 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002872/1.153, allocations: 0.8238 MB / 1.389 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003417/1.157, allocations: 1.078 MB / 1.39 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/1.157, allocations: 1.438 kB / 1.39 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/1.157, allocations: 10.05 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/1.157, allocations: 37.53 kB / 1.39 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009286/1.166, allocations: 4.2 MB / 1.394 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/1.168, allocations: 0.6815 MB / 1.394 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/1.168, allocations: 347.3 kB / 1.395 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/1.168, allocations: 17.02 kB / 1.395 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/1.169, allocations: 423.6 kB / 1.395 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 7.434e-06/1.169, allocations: 3.938 kB / 1.395 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.001491/1.171, allocations: 0.6075 MB / 1.396 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.171, allocations: 245 kB / 1.396 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/1.172, allocations: 0.748 MB / 1.397 GB, free: 23.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002004/1.172, allocations: 41.45 kB / 1.397 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/1.173, allocations: 0.5703 MB / 1.397 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/1.174, allocations: 263.7 kB / 1.398 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/1.174, allocations: 2.188 kB / 1.398 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.174, allocations: 355.5 kB / 1.398 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/1.174, allocations: 290.5 kB / 1.398 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/1.175, allocations: 0.6254 MB / 1.399 GB, free: 22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008861/1.176, allocations: 351.6 kB / 1.399 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.176, allocations: 2.281 kB / 1.399 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002256/1.178, allocations: 0.9463 MB / 1.4 GB, free: 21.72 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.18, allocations: 2.804 MB / 1.403 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.18, allocations: 7.812 kB / 1.403 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/1.18, allocations: 12.97 kB / 1.403 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.181, allocations: 238.6 kB / 1.403 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.593e-05/1.181, allocations: 13.19 kB / 1.403 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/1.182, allocations: 190.1 kB / 1.403 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.182, allocations: 59.25 kB / 1.403 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.182, allocations: 3.969 kB / 1.403 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/1.184, allocations: 0.7661 MB / 1.404 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.184, allocations: 6.562 kB / 1.404 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.184, allocations: 14.03 kB / 1.404 GB, free: 18.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/1.185, allocations: 210.8 kB / 1.404 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.185, allocations: 16.66 kB / 1.404 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.186, allocations: 147.8 kB / 1.404 GB, free: 18.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.186, allocations: 51.58 kB / 1.404 GB, free: 18.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.00036/1.186, allocations: 149.9 kB / 1.405 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/1.187, allocations: 118.2 kB / 1.405 GB, free: 18.19 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/1.188, allocations: 0.6713 MB / 1.405 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/1.188, allocations: 9.031 kB / 1.405 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/1.188, allocations: 1.719 kB / 1.405 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.188, allocations: 8.922 kB / 1.405 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/1.192, allocations: 2.126 MB / 1.407 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.192, allocations: 3.031 kB / 1.407 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/1.193, allocations: 163.9 kB / 1.408 GB, free: 17.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/1.193, allocations: 10.28 kB / 1.408 GB, free: 17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.226e-05/1.193, allocations: 19.16 kB / 1.408 GB, free: 17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/1.193, allocations: 9.656 kB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.193, allocations: 2.75 kB / 1.408 GB, free: 16.99 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002192/1.195, allocations: 1.474 MB / 1.409 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/1.195, allocations: 199.4 kB / 1.409 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.195, allocations: 12.34 kB / 1.409 GB, free: 16.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000824/1.196, allocations: 82.14 kB / 1.409 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.196, allocations: 89.97 kB / 1.409 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.197, allocations: 30.61 kB / 1.409 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0007686/1.197, allocations: 0.531 MB / 1.41 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001936/1.199, allocations: 464.5 kB / 1.41 GB, free: 15.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * 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.0002814/1.2, allocations: 155.2 kB / 1.411 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00217/1.202, allocations: 1.281 MB / 1.412 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.202, allocations: 0 / 1.412 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/1.202, allocations: 318.5 kB / 1.412 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/1.203, allocations: 219.3 kB / 1.412 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/1.207, allocations: 1.704 MB / 1.414 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.208, allocations: 1.325 MB / 1.415 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.915e-06/1.208, allocations: 0 / 1.415 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.03385/1.242, allocations: 17 MB / 1.432 GB, free: 9.988 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches