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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00772/0.007721, allocations: 97.3 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 202 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.025/3.025, allocations: 472.6 MB / 0.7453 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.89 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4559, allocations: 159.9 MB / 1.226 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.008303/0.4643, allocations: 5.683 MB / 1.231 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006109/0.4704, allocations: 2.214 MB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.4723, allocations: 35.88 kB / 1.233 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.4727, allocations: 166.9 kB / 1.234 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.4729, allocations: 43.59 kB / 1.234 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.4735, allocations: 235.1 kB / 1.234 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.4741, allocations: 0.5978 MB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.4745, allocations: 218.9 kB / 1.235 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.4746, allocations: 91.58 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.4748, allocations: 103.5 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.4748, allocations: 20 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.4748, allocations: 20 kB / 1.235 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.4749, allocations: 47.83 kB / 1.235 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.475, allocations: 103.3 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.4754, allocations: 290.6 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4754, allocations: 0 / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4754, allocations: 0 / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.4754, allocations: 4 kB / 1.235 GB, free: 15.19 MB / 0.9981 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.001021/0.4765, allocations: 0.5645 MB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4765, allocations: 8.031 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.4766, allocations: 28.75 kB / 1.236 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009158/0.4775, allocations: 360.8 kB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.4775, allocations: 12.38 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.4776, allocations: 16.38 kB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.4782, allocations: 251.8 kB / 1.237 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.4782, allocations: 11.81 kB / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.4783, allocations: 4 kB / 1.237 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4783, allocations: 8 kB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.479, allocations: 183.7 kB / 1.237 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.4805, allocations: 1.07 MB / 1.238 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.481, allocations: 156.9 kB / 1.238 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.4813, allocations: 96.27 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4814, allocations: 0 / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4814, allocations: 42.56 kB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.4814, allocations: 3.938 kB / 1.238 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.001167/0.4826, allocations: 249.8 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.4827, allocations: 166.2 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4829, allocations: 209 kB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4829, allocations: 33.7 kB / 1.239 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4831, allocations: 164.1 kB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4831, allocations: 19.8 kB / 1.239 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.4832, allocations: 29.7 kB / 1.239 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4833, allocations: 326.8 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.4836, allocations: 67.91 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.484, allocations: 113.9 kB / 1.239 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.4846, allocations: 177.8 kB / 1.24 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4846, allocations: 4 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007584/0.4854, allocations: 213.3 kB / 1.24 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4854, allocations: 4 kB / 1.24 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4854, allocations: 4 kB / 1.24 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4855, allocations: 0 / 1.24 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.4857, allocations: 35.95 kB / 1.24 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.4857, allocations: 7.938 kB / 1.24 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.486, allocations: 44 kB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.486, allocations: 4 kB / 1.24 GB, free: 10.17 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (greThr.greHys.y,$PRE.greThr.greHys.y,frePro.conInt10.y,frePro.conInt9.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.4861, allocations: 126.3 kB / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.4862, allocations: 19.84 kB / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.4863, allocations: 24.86 kB / 1.24 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4863, allocations: 0 / 1.24 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4863, allocations: 7.938 kB / 1.24 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4863, allocations: 192 / 1.24 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004838/0.4868, allocations: 249.5 kB / 1.24 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4868, allocations: 7.922 kB / 1.24 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.487, allocations: 31.97 kB / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.487, allocations: 0 / 1.24 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.487, allocations: 11.98 kB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.487, allocations: 0 / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.487, allocations: 7.875 kB / 1.24 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.4879, allocations: 0.5707 MB / 1.241 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.488, allocations: 89.02 kB / 1.241 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.488, allocations: 8 kB / 1.241 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.4884, allocations: 31.95 kB / 1.241 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.4885, allocations: 27.91 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4885, allocations: 7.938 kB / 1.241 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001302/0.4886, allocations: 152.5 kB / 1.241 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4886, allocations: 0 / 1.241 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004434/0.4891, allocations: 35.89 kB / 1.241 GB, free: 8.684 MB / 0.9981 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.4892, allocations: 99.25 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007226/0.4899, allocations: 155.8 kB / 1.241 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.49, allocations: 8.312 kB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.4903, allocations: 79.91 kB / 1.242 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.4911, allocations: 69.7 kB / 1.242 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.4919, allocations: 370.3 kB / 1.242 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.4923, allocations: 0.7397 MB / 1.243 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.4924, allocations: 29.67 kB / 1.243 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.4925, allocations: 19.44 kB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4925, allocations: 0 / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of Templates: time 0.005896/0.4984, allocations: 2.459 MB / 1.245 GB, free: 4.691 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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