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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 175 kB / 498.1 MB, free: 5.766 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009548, allocations: 92.33 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 9.875 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3256, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.5199, allocations: 150.8 MB / 1.37 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.5202, allocations: 71.95 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01004/0.5303, allocations: 4.044 MB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5303, allocations: 3.938 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.5303, allocations: 8 kB / 1.374 GB, free: 7.023 MB / 0.8698 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.0007871/0.5311, allocations: 0.526 MB / 1.375 GB, free: 6.449 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5312, allocations: 8.031 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.5313, allocations: 58.55 kB / 1.375 GB, free: 6.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.5314, allocations: 35.62 kB / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.5317, allocations: 278.5 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.5317, allocations: 16.44 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.5318, allocations: 23.94 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.5323, allocations: 249.8 kB / 1.375 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5323, allocations: 8 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.5324, allocations: 4 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.5324, allocations: 4 kB / 1.375 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.5328, allocations: 177.7 kB / 1.376 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.5341, allocations: 0.8689 MB / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.535, allocations: 338.6 kB / 1.377 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.5351, allocations: 3.984 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.5354, allocations: 119.4 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.5354, allocations: 0 / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005619/0.5359, allocations: 249.2 kB / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.536, allocations: 81.11 kB / 1.377 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.5363, allocations: 237.8 kB / 1.377 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.5363, allocations: 33.7 kB / 1.377 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.5365, allocations: 160.2 kB / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.5365, allocations: 43.27 kB / 1.378 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/0.5365, allocations: 4 kB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5367, allocations: 330.8 kB / 1.378 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5368, allocations: 63.97 kB / 1.378 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.537, allocations: 102.8 kB / 1.378 GB, free: 2.812 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5372, allocations: 78.06 kB / 1.378 GB, free: 2.738 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5372, allocations: 3.953 kB / 1.378 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003715/0.5376, allocations: 201.4 kB / 1.378 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.5377, allocations: 182 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5377, allocations: 0 / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5377, allocations: 3.938 kB / 1.379 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.5379, allocations: 39.92 kB / 1.379 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5379, allocations: 4 kB / 1.379 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.538, allocations: 31.78 kB / 1.379 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5381, allocations: 8 kB / 1.379 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.5381, allocations: 7.984 kB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002373/0.5383, allocations: 134 kB / 1.379 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.5383, allocations: 0 / 1.379 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.5383, allocations: 3.938 kB / 1.379 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5385, allocations: 27.98 kB / 1.379 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-06/0.5385, allocations: 0 / 1.379 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.5386, allocations: 27.83 kB / 1.379 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.5386, allocations: 0 / 1.379 GB, free: 2.059 MB / 0.8698 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 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001724/0.5388, allocations: 225.1 kB / 1.379 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.5388, allocations: 23.67 kB / 1.379 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.3e-05/0.5389, allocations: 29.83 kB / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5389, allocations: 0 / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5389, allocations: 0 / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5389, allocations: 0 / 1.379 GB, free: 1.766 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.5396, allocations: 0.5764 MB / 1.38 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.5396, allocations: 0 / 1.38 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.5397, allocations: 27.98 kB / 1.38 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.5397, allocations: 4 kB / 1.38 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5398, allocations: 7.984 kB / 1.38 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5398, allocations: 0 / 1.38 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5398, allocations: 0 / 1.38 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.5404, allocations: 382.2 kB / 1.38 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.5404, allocations: 108.8 kB / 1.38 GB, free: 0.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.5405, allocations: 4 kB / 1.38 GB, free: 0.5781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.5406, allocations: 15.98 kB / 1.38 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.5407, allocations: 7.984 kB / 1.38 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.5407, allocations: 4 kB / 1.38 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000193/0.5409, allocations: 194 kB / 1.38 GB, free: 372 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5409, allocations: 4 kB / 1.38 GB, free: 368 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000345/0.5412, allocations: 72 kB / 1.38 GB, free: 296 kB / 0.8698 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked 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.0009271/0.5422, allocations: 0.919 MB / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004739/0.5427, allocations: 215.9 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5427, allocations: 0 / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5428, allocations: 85.3 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.5432, allocations: 50.45 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.5455, allocations: 1.547 MB / 1.383 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.5459, allocations: 0.7523 MB / 1.384 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.546, allocations: 21.94 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5461, allocations: 83.41 kB / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5461, allocations: 0 / 1.384 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.5643, allocations: 4.433 MB / 1.388 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.5646, allocations: 207.1 kB / 1.389 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.422, allocations: 3.234 kB / 1.389 GB, free: 8.051 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat does not exist to compare? outputFormat=mat