Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.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.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frePro.uOutDam|frePro.yOutDam|frePro.uHeaCoi|frePro.yHeaCoi|frePro.uCooCoi|frePro.yCooCoi|frePro.uRetDam|frePro.yRetDam|frePro.uSupFan|frePro.ySupFan|frePro.yHotWatPlaReq|frePro.y1SupFan|frePro.yFreProSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frePro.uOutDam|frePro.yOutDam|frePro.uHeaCoi|frePro.yHeaCoi|frePro.uCooCoi|frePro.yCooCoi|frePro.uRetDam|frePro.yRetDam|frePro.uSupFan|frePro.ySupFan|frePro.yHotWatPlaReq|frePro.y1SupFan|frePro.yFreProSta",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.002248/0.002248, allocations: 186.3 kB / 0.4902 GB, free: 2.246 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.601/1.601, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.000891/0.0008911, allocations: 100.3 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 11.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.4819, allocations: 159.2 MB / 1.385 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4823, allocations: 91.92 kB / 1.385 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.4979, allocations: 6.96 MB / 1.392 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.713e-06/0.498, allocations: 4 kB / 1.392 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.304e-05/0.498, allocations: 4 kB / 1.392 GB, free: 3.141 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009767/0.499, allocations: 0.5646 MB / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.499, allocations: 8.562 kB / 1.392 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.4991, allocations: 27.72 kB / 1.392 GB, free: 2.492 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.4995, allocations: 264.4 kB / 1.393 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.4995, allocations: 16 kB / 1.393 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.4996, allocations: 12 kB / 1.393 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.5002, allocations: 291 kB / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.5002, allocations: 0 / 1.393 GB, free: 1.852 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.5003, allocations: 8 kB / 1.393 GB, free: 1.844 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.5003, allocations: 7.938 kB / 1.393 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008387/0.5011, allocations: 275.7 kB / 1.393 GB, free: 1.566 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.5029, allocations: 1.133 MB / 1.394 GB, free: 360 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.5034, allocations: 240.9 kB / 1.394 GB, free: 72 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.5035, allocations: 8 kB / 1.394 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5035, allocations: 42.56 kB / 1.394 GB, free: 12 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.5035, allocations: 0 / 1.394 GB, free: 12 kB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001338/0.5049, allocations: 413.6 kB / 1.395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.5049, allocations: 166.1 kB / 1.395 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.5052, allocations: 196.1 kB / 1.395 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.5052, allocations: 29.7 kB / 1.395 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.5053, allocations: 148.2 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.5054, allocations: 35.45 kB / 1.395 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.5054, allocations: 4 kB / 1.395 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5055, allocations: 334.8 kB / 1.396 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.5059, allocations: 111.9 kB / 1.396 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.5063, allocations: 149.1 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.5067, allocations: 119.9 kB / 1.396 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5067, allocations: 3.938 kB / 1.396 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000826/0.5076, allocations: 297.3 kB / 1.396 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5076, allocations: 4 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5076, allocations: 0 / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5076, allocations: 4 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.5079, allocations: 63.91 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5079, allocations: 7.953 kB / 1.396 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002774/0.5082, allocations: 59.86 kB / 1.397 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.5082, allocations: 4 kB / 1.397 GB, free: 13.82 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: 2 ($PRE.greThr.greHys.y,greThr.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001371/0.5084, allocations: 129.8 kB / 1.397 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5085, allocations: 19.8 kB / 1.397 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.668e-05/0.5086, allocations: 25.25 kB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5086, allocations: 0 / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5086, allocations: 4 kB / 1.397 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.5086, allocations: 7.938 kB / 1.397 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.5091, allocations: 269.4 kB / 1.397 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5091, allocations: 0 / 1.397 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.5094, allocations: 67.81 kB / 1.397 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5094, allocations: 0 / 1.397 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.5094, allocations: 4 kB / 1.397 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5094, allocations: 4 kB / 1.397 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.5094, allocations: 4 kB / 1.397 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009587/0.5104, allocations: 0.7217 MB / 1.398 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.5105, allocations: 92.92 kB / 1.398 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.5105, allocations: 4 kB / 1.398 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.5109, allocations: 59.94 kB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.511, allocations: 19.97 kB / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.511, allocations: 4 kB / 1.398 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001308/0.5112, allocations: 164.5 kB / 1.398 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 0 / 1.398 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004085/0.5116, allocations: 35.84 kB / 1.398 GB, free: 12.08 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (greThr.greHys.y) * Number of discrete states: 1 (greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001482/0.5117, allocations: 108 kB / 1.398 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008159/0.5126, allocations: 264 kB / 1.398 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5126, allocations: 0 / 1.398 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.513, allocations: 140 kB / 1.399 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.5136, allocations: 82.75 kB / 1.399 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.5145, allocations: 431 kB / 1.399 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5148, allocations: 0.74 MB / 1.4 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.5149, allocations: 17.02 kB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.515, allocations: 15.44 kB / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.515, allocations: 0 / 1.4 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of Templates: time 0.005893/0.5209, allocations: 2.398 MB / 1.402 GB, free: 7.91 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_SetPoints_Validation_FreezeProtection_Disable.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches