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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001508/0.001508, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 198.3 kB / 16.79 MB, free: 6.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.62 kB / 0.8991 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 157.4 MB / 1.053 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.SetPoints.Validation.FreezeProtection_Disable): time 0.008246/0.3268, allocations: 5.69 MB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005029/0.3319, allocations: 2.183 MB / 1.061 GB, free: 304 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.3338, allocations: 39.88 kB / 1.061 GB, free: 264 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3344, allocations: 151 kB / 1.061 GB, free: 112 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.3346, allocations: 27.67 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.3354, allocations: 187.5 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000689/0.3361, allocations: 0.5666 MB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.3366, allocations: 204 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.3367, allocations: 75.7 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3369, allocations: 103.4 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.3369, allocations: 8 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.528e-05/0.337, allocations: 12 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.461e-05/0.337, allocations: 35.78 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3372, allocations: 103.4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.3374, allocations: 211.7 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3374, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.557e-06/0.3375, allocations: 4 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3375, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 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.00109/0.3386, allocations: 0.5609 MB / 1.063 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3386, allocations: 11.97 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.3387, allocations: 36.5 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3398, allocations: 352.4 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.3398, allocations: 16.38 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.3399, allocations: 16.31 kB / 1.063 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.3407, allocations: 247.8 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3408, allocations: 7.875 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.3408, allocations: 8 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3408, allocations: 4 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3419, allocations: 187.8 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.3435, allocations: 1.074 MB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.3439, allocations: 160.9 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.3442, allocations: 100.2 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3443, allocations: 4 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3443, allocations: 42.48 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3443, allocations: 0 / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.001211/0.3455, allocations: 253.7 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.3456, allocations: 162.2 kB / 1.065 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3458, allocations: 216.9 kB / 1.066 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3459, allocations: 25.7 kB / 1.066 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.346, allocations: 156 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.346, allocations: 19.73 kB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.3461, allocations: 25.72 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3462, allocations: 330.8 kB / 1.066 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3465, allocations: 67.92 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3469, allocations: 113.9 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.3474, allocations: 169.8 kB / 1.066 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3475, allocations: 4 kB / 1.066 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008035/0.3483, allocations: 217.2 kB / 1.067 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3483, allocations: 8 kB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3483, allocations: 3.938 kB / 1.067 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3483, allocations: 4 kB / 1.067 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3486, allocations: 35.95 kB / 1.067 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.3486, allocations: 7.922 kB / 1.067 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.3488, allocations: 40.05 kB / 1.067 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.3488, allocations: 11.98 kB / 1.067 GB, free: 9.559 MB / 0.8262 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.0001294/0.349, allocations: 133.7 kB / 1.067 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.3491, allocations: 15.81 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.3491, allocations: 20.86 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3491, allocations: 4 kB / 1.067 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3492, allocations: 3.938 kB / 1.067 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3492, allocations: 8 kB / 1.067 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.3497, allocations: 245.6 kB / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3497, allocations: 0 / 1.067 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3499, allocations: 32.14 kB / 1.067 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3499, allocations: 4 kB / 1.067 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3499, allocations: 3.938 kB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3499, allocations: 4 kB / 1.067 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.3499, allocations: 7.875 kB / 1.067 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.3508, allocations: 0.5744 MB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3509, allocations: 88.92 kB / 1.068 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.3509, allocations: 8 kB / 1.068 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.3513, allocations: 40.02 kB / 1.068 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.3514, allocations: 23.84 kB / 1.068 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3514, allocations: 4 kB / 1.068 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3515, allocations: 152.5 kB / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3515, allocations: 0 / 1.068 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004271/0.352, allocations: 31.84 kB / 1.068 GB, free: 8.07 MB / 0.8262 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.0001416/0.3521, allocations: 111.2 kB / 1.068 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007565/0.3529, allocations: 152.1 kB / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3529, allocations: 0 / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.3532, allocations: 79.86 kB / 1.068 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.354, allocations: 70.7 kB / 1.068 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.3548, allocations: 460.2 kB / 1.069 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3552, allocations: 0.7322 MB / 1.07 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.3553, allocations: 19.44 kB / 1.07 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3553, allocations: 0 / 1.07 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.005188/0.3605, allocations: 2.433 MB / 1.072 GB, free: 3.977 MB / 0.8262 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/jenkins1/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