Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.438/1.438, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008917/0.000892, allocations: 78.55 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.783e-05, allocations: 4 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8918 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6601/0.8706, allocations: 134.5 MB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.8709, allocations: 73.31 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01185/0.8827, allocations: 5.011 MB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8828, allocations: 0 / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.928e-05/0.8828, allocations: 4 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000648/0.8835, allocations: 0.4998 MB / 1.029 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.8835, allocations: 8.031 kB / 1.029 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.8836, allocations: 31.62 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.884, allocations: 287.9 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.884, allocations: 23.44 kB / 1.029 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.8841, allocations: 22.88 kB / 1.029 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.8845, allocations: 232.8 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.8845, allocations: 3.938 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.8845, allocations: 2.938 kB / 1.029 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.8845, allocations: 8 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.8848, allocations: 146.2 kB / 1.029 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.8861, allocations: 1.029 MB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.8864, allocations: 168.4 kB / 1.031 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.8866, allocations: 81.34 kB / 1.031 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.8866, allocations: 11.89 kB / 1.031 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.8866, allocations: 34.38 kB / 1.031 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/0.8866, allocations: 3.984 kB / 1.031 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003021/0.8869, allocations: 158 kB / 1.031 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.887, allocations: 81.11 kB / 1.031 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.8873, allocations: 244.2 kB / 1.031 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.8873, allocations: 29.52 kB / 1.031 GB, free: 9.293 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.8874, allocations: 160.6 kB / 1.031 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.8875, allocations: 50.02 kB / 1.031 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.8875, allocations: 4 kB / 1.031 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8876, allocations: 335.4 kB / 1.032 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.8877, allocations: 46.12 kB / 1.032 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.853e-05/0.8878, allocations: 82.41 kB / 1.032 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.8879, allocations: 61.61 kB / 1.032 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.8879, allocations: 3.938 kB / 1.032 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002858/0.8882, allocations: 170.3 kB / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.8883, allocations: 195 kB / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.8883, allocations: 0 / 1.032 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.8884, allocations: 4 kB / 1.032 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.8885, allocations: 35.92 kB / 1.032 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8886, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.8887, allocations: 35.52 kB / 1.032 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.8887, allocations: 4 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.8887, allocations: 4 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001944/0.8889, allocations: 127 kB / 1.032 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.8889, allocations: 0 / 1.032 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.068e-06/0.8889, allocations: 3.953 kB / 1.032 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8891, allocations: 27.98 kB / 1.032 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.8891, allocations: 4 kB / 1.032 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.8892, allocations: 27.11 kB / 1.032 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.8892, allocations: 4 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (freProTMix.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.214e-05/0.8893, allocations: 112 kB / 1.033 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.8894, allocations: 23.53 kB / 1.033 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.8894, allocations: 28.77 kB / 1.033 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8895, allocations: 3.953 kB / 1.033 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.8895, allocations: 4 kB / 1.033 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8895, allocations: 3.938 kB / 1.033 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.8901, allocations: 0.5575 MB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8901, allocations: 4 kB / 1.033 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.8903, allocations: 31.97 kB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.8903, allocations: 7.953 kB / 1.033 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.8903, allocations: 4 kB / 1.033 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8903, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8903, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.8907, allocations: 352.5 kB / 1.034 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.8908, allocations: 108.5 kB / 1.034 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.8908, allocations: 7.25 kB / 1.034 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.891, allocations: 15.55 kB / 1.034 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.891, allocations: 8.047 kB / 1.034 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.8911, allocations: 8 kB / 1.034 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001894/0.8913, allocations: 199.7 kB / 1.034 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8913, allocations: 0 / 1.034 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003466/0.8916, allocations: 78.44 kB / 1.034 GB, free: 6.734 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001589/0.8918, allocations: 115.1 kB / 1.034 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.8921, allocations: 192.5 kB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8922, allocations: 128 / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.8923, allocations: 70.12 kB / 1.034 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.8926, allocations: 49.33 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.8933, allocations: 311 kB / 1.035 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.8937, allocations: 0.7572 MB / 1.035 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.8939, allocations: 38.05 kB / 1.035 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.8939, allocations: 23.36 kB / 1.035 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.8939, allocations: 0 / 1.035 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of Templates: time 0.005793/0.8997, allocations: 2.653 MB / 1.038 GB, free: 2.684 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches