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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009224/0.0009224, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001041/0.001041, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 12 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8313, allocations: 142.4 MB / 0.9545 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.001486/0.8328, allocations: 1.008 MB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.8341, allocations: 1.128 MB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.8343, allocations: 3.562 kB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.8345, allocations: 25.89 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.8346, allocations: 39.98 kB / 0.9566 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.8349, allocations: 55.92 kB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.8352, allocations: 268.9 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.8355, allocations: 113.4 kB / 0.957 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.8356, allocations: 69 kB / 0.9571 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.8358, allocations: 78.02 kB / 0.9572 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.8358, allocations: 10.31 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.829e-05/0.8358, allocations: 7.156 kB / 0.9572 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.8359, allocations: 30.11 kB / 0.9572 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.836, allocations: 66.05 kB / 0.9573 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.8363, allocations: 338.8 kB / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8363, allocations: 0 / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.215e-06/0.8363, allocations: 0 / 0.9576 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8363, allocations: 0 / 0.9576 GB, free: 5.176 MB / 0.7169 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.0007237/0.837, allocations: 0.5118 MB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.8371, allocations: 9.625 kB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.095e-05/0.8372, allocations: 37.58 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.8375, allocations: 297.2 kB / 0.9584 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.8376, allocations: 13.22 kB / 0.9584 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.8376, allocations: 22.19 kB / 0.9585 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.8381, allocations: 236.7 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.8381, allocations: 1.375 kB / 0.9587 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.8381, allocations: 9.375 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.8382, allocations: 5.5 kB / 0.9587 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.8385, allocations: 163.9 kB / 0.9589 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.8397, allocations: 0.8638 MB / 0.9597 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/0.8404, allocations: 198.1 kB / 0.9599 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.8406, allocations: 80.17 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.8406, allocations: 1.156 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.8406, allocations: 44.95 kB / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.8406, allocations: 0 / 0.96 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004845/0.8411, allocations: 189 kB / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.8412, allocations: 52.44 kB / 0.9602 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.8414, allocations: 246.6 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.8414, allocations: 35.08 kB / 0.9605 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.8415, allocations: 165.7 kB / 0.9607 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.8416, allocations: 40.95 kB / 0.9607 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.8416, allocations: 5.375 kB / 0.9607 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/0.8416, allocations: 338.8 kB / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.8418, allocations: 46.11 kB / 0.9611 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.8419, allocations: 108.3 kB / 0.9612 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.842, allocations: 64.91 kB / 0.9612 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.842, allocations: 4.031 kB / 0.9612 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000365/0.8424, allocations: 203 kB / 0.9614 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.8425, allocations: 130.2 kB / 0.9616 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8425, allocations: 5.016 kB / 0.9616 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.8425, allocations: 2.969 kB / 0.9616 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8427, allocations: 34.33 kB / 0.9616 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8427, allocations: 3.438 kB / 0.9616 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.8428, allocations: 22.78 kB / 0.9616 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.8429, allocations: 12.77 kB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/0.8429, allocations: 3.969 kB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002623/0.8432, allocations: 146.1 kB / 0.9618 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.8432, allocations: 1.156 kB / 0.9618 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.8432, allocations: 6.984 kB / 0.9618 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.8433, allocations: 37.83 kB / 0.9618 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.8433, allocations: 1.875 kB / 0.9618 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.8434, allocations: 18.12 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8434, allocations: 5.875 kB / 0.9619 GB, free: 1.715 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.8436, allocations: 222.2 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.8436, allocations: 21.12 kB / 0.9621 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.8437, allocations: 22.8 kB / 0.9621 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8437, allocations: 6.031 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8437, allocations: 0 / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8437, allocations: 1.125 kB / 0.9621 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.844, allocations: 306.9 kB / 0.9624 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.844, allocations: 0.6875 kB / 0.9624 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.8442, allocations: 23.83 kB / 0.9624 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8442, allocations: 3.984 kB / 0.9624 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.8442, allocations: 2 kB / 0.9624 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.8442, allocations: 0 / 0.9624 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8442, allocations: 1 kB / 0.9624 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.8447, allocations: 316.9 kB / 0.9627 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.8447, allocations: 94.17 kB / 0.9628 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8448, allocations: 1.969 kB / 0.9628 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.8449, allocations: 11.95 kB / 0.9628 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.8449, allocations: 11.64 kB / 0.9629 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.8449, allocations: 2.438 kB / 0.9629 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001753/0.8451, allocations: 176.4 kB / 0.963 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8451, allocations: 3.938 kB / 0.963 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004105/0.8455, allocations: 80.19 kB / 0.9631 GB, free: 0.6523 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0001406/0.8457, allocations: 98 kB / 0.9632 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.8462, allocations: 212.8 kB / 0.9634 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8462, allocations: 0 / 0.9634 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.8464, allocations: 57.81 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.8469, allocations: 49.67 kB / 0.9635 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.8478, allocations: 496.7 kB / 0.964 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.8482, allocations: 0.7427 MB / 0.9647 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.8483, allocations: 30.05 kB / 0.9647 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.8484, allocations: 18.66 kB / 0.9647 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8484, allocations: 0 / 0.9647 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.005334/0.8537, allocations: 1.813 MB / 0.9665 GB, free: 14.41 MB / 0.7325 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/jenkins/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