Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.y|TFreSet|freProTMix.yFreProInv|freProTMix.yFrePro",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.y|TFreSet|freProTMix.yFreProInv|freProTMix.yFrePro",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 110.1 kB / 16.42 MB, free: 6.516 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.00127/0.001269, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9278, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.003192/0.931, allocations: 1.4 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.9328, allocations: 1.162 MB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.933, allocations: 8.25 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.9332, allocations: 46.52 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.9333, allocations: 40.78 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.9336, allocations: 111.5 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.934, allocations: 315.4 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.9343, allocations: 162.9 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.9345, allocations: 109.4 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.9347, allocations: 116.3 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.95e-05/0.9347, allocations: 34.66 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.84e-05/0.9348, allocations: 35.5 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.9349, allocations: 79.83 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.935, allocations: 127.4 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.9356, allocations: 425.4 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9357, allocations: 3.938 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9357, allocations: 0 / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.9357, allocations: 0.9375 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009806/0.9367, allocations: 0.5585 MB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.9367, allocations: 8.938 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.283e-05/0.9368, allocations: 31.41 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.9373, allocations: 295.6 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.9373, allocations: 17.88 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.65e-05/0.9374, allocations: 22.53 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.9379, allocations: 242.9 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9379, allocations: 8.781 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.9379, allocations: 6.062 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9379, allocations: 5.656 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.9383, allocations: 148.4 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.9396, allocations: 0.8583 MB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000822/0.9404, allocations: 190.2 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.9406, allocations: 88.2 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.9406, allocations: 6.656 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.9407, allocations: 36.28 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.9407, allocations: 0 / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005186/0.9412, allocations: 185.6 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.9412, allocations: 57.73 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.9415, allocations: 243.7 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.9415, allocations: 27.09 kB / 1.096 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.9416, allocations: 169.2 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.9417, allocations: 48.78 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.9418, allocations: 38.7 kB / 1.096 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.9419, allocations: 334.3 kB / 1.096 GB, free: 172 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.942, allocations: 57.03 kB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.9422, allocations: 103.2 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.9426, allocations: 147.3 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9426, allocations: 0.7188 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000447/0.943, allocations: 199.2 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.943, allocations: 13.28 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.9431, allocations: 5.141 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.9431, allocations: 3.25 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.9433, allocations: 39.22 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.9433, allocations: 2.891 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.9434, allocations: 15.62 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.9434, allocations: 9.891 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002133/0.9437, allocations: 151.7 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001466/0.9438, allocations: 96.53 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002573/0.9441, allocations: 145.7 kB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.9441, allocations: 7.922 kB / 1.097 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003568/0.9445, allocations: 184.5 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.9445, allocations: 6.062 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.9445, allocations: 5.25 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.9445, allocations: 3.188 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.9447, allocations: 29.88 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.9447, allocations: 10.41 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.9448, allocations: 13.41 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.9448, allocations: 6.516 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (freProTMix.con.con1.y,freProTMix.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001279/0.9449, allocations: 184.2 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.945, allocations: 25.53 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.9451, allocations: 25.73 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9451, allocations: 0.7969 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.9451, allocations: 5.766 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.9452, allocations: 106.8 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.9452, allocations: 1.797 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.9454, allocations: 8.484 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.9454, allocations: 6.781 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000442/0.9459, allocations: 225.3 kB / 1.098 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006146/0.9465, allocations: 396.4 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001545/0.9467, allocations: 55.25 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002172/0.9469, allocations: 182 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of Backend: time 6.51e-07/0.9469, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.9476, allocations: 240.8 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001092/0.9487, allocations: 0.8617 MB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.007973/0.9567, allocations: 2.57 MB / 1.102 GB, free: 13.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches