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.001015/0.001015, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00831/0.00831, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.597/1.597, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.568/2.568, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.923/0.9233, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir): time 0.002433/0.9258, allocations: 1.081 MB / 0.9561 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.9282, allocations: 1.141 MB / 0.9572 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.9285, allocations: 8.406 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.9287, allocations: 31.09 kB / 0.9573 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.9289, allocations: 31.31 kB / 0.9573 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.9293, allocations: 96.27 kB / 0.9574 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.9298, allocations: 289.2 kB / 0.9577 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004003/0.9302, allocations: 158 kB / 0.9578 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.9304, allocations: 72.14 kB / 0.9579 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.9306, allocations: 82.56 kB / 0.958 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.9306, allocations: 6 kB / 0.958 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.9307, allocations: 6.094 kB / 0.958 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.9307, allocations: 34.48 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.9309, allocations: 120.9 kB / 0.9581 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.9313, allocations: 392 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9313, allocations: 0 / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9314, allocations: 0 / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9314, allocations: 0 / 0.9585 GB, free: 4.945 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.001093/0.9325, allocations: 0.5176 MB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.9325, allocations: 9.219 kB / 0.959 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.9327, allocations: 31.69 kB / 0.959 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.9332, allocations: 301.1 kB / 0.9593 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.9333, allocations: 17.06 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.9333, allocations: 19.5 kB / 0.9594 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.934, allocations: 239.8 kB / 0.9596 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.934, allocations: 3.938 kB / 0.9596 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.9341, allocations: 10.73 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.9341, allocations: 4.125 kB / 0.9596 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.9346, allocations: 154.5 kB / 0.9597 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.9363, allocations: 0.8594 MB / 0.9606 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.9374, allocations: 195.3 kB / 0.9608 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.9377, allocations: 89.62 kB / 0.9609 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.9378, allocations: 1.375 kB / 0.9609 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.9378, allocations: 35.88 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.9378, allocations: 7.875 kB / 0.9609 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007466/0.9386, allocations: 202.7 kB / 0.9611 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.9386, allocations: 52.78 kB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.9391, allocations: 248.3 kB / 0.9614 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.9391, allocations: 27.02 kB / 0.9614 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9393, allocations: 169.1 kB / 0.9616 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.9393, allocations: 45.36 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.9394, allocations: 23.12 kB / 0.9616 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9395, allocations: 335.5 kB / 0.962 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.9397, allocations: 51.06 kB / 0.962 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.94, allocations: 104.7 kB / 0.9621 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.9404, allocations: 154.4 kB / 0.9623 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9404, allocations: 5.156 kB / 0.9623 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005931/0.941, allocations: 206.5 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.9411, allocations: 127.9 kB / 0.9626 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9411, allocations: 1.969 kB / 0.9626 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.9412, allocations: 2.031 kB / 0.9626 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.9414, allocations: 35.09 kB / 0.9626 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.9414, allocations: 6.938 kB / 0.9626 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.9416, allocations: 22.28 kB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.9417, allocations: 6 kB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.9417, allocations: 5.219 kB / 0.9626 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000422/0.9421, allocations: 144.3 kB / 0.9628 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.9421, allocations: 1.062 kB / 0.9628 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.9421, allocations: 6.344 kB / 0.9628 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.9423, allocations: 38.61 kB / 0.9628 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9424, allocations: 1.438 kB / 0.9628 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.9425, allocations: 22.3 kB / 0.9629 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.9425, allocations: 5.188 kB / 0.9629 GB, free: 1.379 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.000216/0.9428, allocations: 215.1 kB / 0.9631 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.9428, allocations: 17.12 kB / 0.9631 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.943, allocations: 27.8 kB / 0.9631 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.943, allocations: 1.344 kB / 0.9631 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.943, allocations: 7.938 kB / 0.9631 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.463e-06/0.943, allocations: 0 / 0.9631 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.9435, allocations: 312.2 kB / 0.9634 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9435, allocations: 3.938 kB / 0.9634 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.9437, allocations: 30.95 kB / 0.9634 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.9438, allocations: 1.25 kB / 0.9634 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.9438, allocations: 5.156 kB / 0.9635 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9438, allocations: 1.312 kB / 0.9635 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9438, allocations: 0 / 0.9635 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.9446, allocations: 317.3 kB / 0.9638 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.9447, allocations: 102.6 kB / 0.9639 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.9447, allocations: 4.719 kB / 0.9639 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.9449, allocations: 7.938 kB / 0.9639 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.945, allocations: 12.02 kB / 0.9639 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.945, allocations: 3 kB / 0.9639 GB, free: 468 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002661/0.9453, allocations: 176.9 kB / 0.964 GB, free: 340 kB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9453, allocations: 0 / 0.964 GB, free: 340 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006276/0.9459, allocations: 68.81 kB / 0.9641 GB, free: 320 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.0002024/0.9461, allocations: 106.6 kB / 0.9642 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007308/0.9469, allocations: 211 kB / 0.9644 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9469, allocations: 1 kB / 0.9644 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.9471, allocations: 62.22 kB / 0.9645 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.9479, allocations: 48.95 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.9492, allocations: 0.5072 MB / 0.965 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.9498, allocations: 0.7463 MB / 0.9657 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.95, allocations: 21.77 kB / 0.9658 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.9502, allocations: 22.77 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 7.62e-07/0.9502, allocations: 3.938 kB / 0.9658 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.008792/0.959, allocations: 1.867 MB / 0.9676 GB, free: 14.02 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