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.001065/0.001065, allocations: 91.53 kB / 16.02 MB, free: 80 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.001376/0.001376, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.297 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.421/2.421, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7487, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.00153/0.7502, allocations: 1.077 MB / 0.9568 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.7515, allocations: 1.138 MB / 0.9579 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.7517, allocations: 4.812 kB / 0.9579 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.7519, allocations: 32.69 kB / 0.9579 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.752, allocations: 33.16 kB / 0.958 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.7522, allocations: 88.39 kB / 0.958 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.7525, allocations: 298.3 kB / 0.9583 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.7527, allocations: 156.7 kB / 0.9585 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.7528, allocations: 68.2 kB / 0.9585 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.753, allocations: 81.72 kB / 0.9586 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.753, allocations: 11.34 kB / 0.9586 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.753, allocations: 10 kB / 0.9586 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.7531, allocations: 30.73 kB / 0.9587 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.7532, allocations: 116.6 kB / 0.9588 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.7534, allocations: 334.1 kB / 0.9591 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7534, allocations: 4 kB / 0.9591 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7534, allocations: 0 / 0.9591 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7534, allocations: 0 / 0.9591 GB, free: 5.113 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.0007407/0.7542, allocations: 0.5265 MB / 0.9596 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7542, allocations: 8.625 kB / 0.9596 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.7543, allocations: 31.28 kB / 0.9597 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.7547, allocations: 297.3 kB / 0.9599 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.7547, allocations: 21.41 kB / 0.96 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.7547, allocations: 22.47 kB / 0.96 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.7552, allocations: 239.7 kB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.7552, allocations: 5.312 kB / 0.9602 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.7552, allocations: 13.36 kB / 0.9602 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.7552, allocations: 5.5 kB / 0.9602 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.7556, allocations: 145.4 kB / 0.9604 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.7566, allocations: 0.8639 MB / 0.9612 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.7573, allocations: 195 kB / 0.9614 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.7575, allocations: 82.08 kB / 0.9615 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.7575, allocations: 2.156 kB / 0.9615 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.7576, allocations: 43.78 kB / 0.9615 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.7576, allocations: 0 / 0.9615 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005015/0.7581, allocations: 198.5 kB / 0.9617 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.7581, allocations: 52.97 kB / 0.9618 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.7584, allocations: 243.5 kB / 0.962 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7584, allocations: 27.08 kB / 0.962 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.7585, allocations: 174.2 kB / 0.9622 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.7585, allocations: 48.08 kB / 0.9622 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.7586, allocations: 19.84 kB / 0.9622 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.7586, allocations: 335.6 kB / 0.9626 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7588, allocations: 55.31 kB / 0.9626 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.7589, allocations: 105.7 kB / 0.9627 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.7592, allocations: 154.7 kB / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7592, allocations: 0 / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003641/0.7596, allocations: 206 kB / 0.9631 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.7597, allocations: 130.8 kB / 0.9632 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7597, allocations: 5.094 kB / 0.9632 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7597, allocations: 2.5 kB / 0.9632 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.7599, allocations: 42.81 kB / 0.9632 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.7599, allocations: 2.344 kB / 0.9632 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.76, allocations: 15.5 kB / 0.9633 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.76, allocations: 13.12 kB / 0.9633 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.76, allocations: 4.188 kB / 0.9633 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002486/0.7603, allocations: 139.7 kB / 0.9634 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.7603, allocations: 1.281 kB / 0.9634 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.7603, allocations: 10.89 kB / 0.9634 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.7604, allocations: 33.89 kB / 0.9635 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.7604, allocations: 9.828 kB / 0.9635 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.7605, allocations: 22.55 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.7606, allocations: 8.969 kB / 0.9635 GB, free: 1.527 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.7607, allocations: 219.2 kB / 0.9637 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.7607, allocations: 17.12 kB / 0.9637 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.071e-05/0.7608, allocations: 30.95 kB / 0.9637 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7608, allocations: 1.625 kB / 0.9637 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7608, allocations: 0 / 0.9637 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7608, allocations: 4.781 kB / 0.9638 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.7611, allocations: 307.1 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7611, allocations: 1 kB / 0.964 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.7612, allocations: 22.8 kB / 0.9641 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.7613, allocations: 1 kB / 0.9641 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.7613, allocations: 5.125 kB / 0.9641 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7613, allocations: 4.875 kB / 0.9641 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7613, allocations: 0 / 0.9641 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.7618, allocations: 321.6 kB / 0.9644 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.7618, allocations: 97.41 kB / 0.9645 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.7619, allocations: 9.375 kB / 0.9645 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.762, allocations: 3.062 kB / 0.9645 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.762, allocations: 8.891 kB / 0.9645 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.762, allocations: 10.31 kB / 0.9645 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001523/0.7622, allocations: 173.2 kB / 0.9647 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7622, allocations: 1.031 kB / 0.9647 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003781/0.7626, allocations: 72.56 kB / 0.9647 GB, free: 480 kB / 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 (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.0001073/0.7627, allocations: 106.5 kB / 0.9648 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.7631, allocations: 211.4 kB / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7632, allocations: 0 / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.7633, allocations: 62.72 kB / 0.9651 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.7638, allocations: 45.28 kB / 0.9651 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.7646, allocations: 0.5457 MB / 0.9657 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.7649, allocations: 0.7431 MB / 0.9664 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.765, allocations: 20.62 kB / 0.9664 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.765, allocations: 0 / 0.9664 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of Templates: time 0.005106/0.7701, allocations: 2.656 MB / 0.969 GB, free: 13.69 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/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