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.288/2.288, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001099/0.001099, allocations: 168.8 kB / 487.4 MB, free: 5.078 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.736/1.736, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008651/0.0008651, allocations: 98.3 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.001e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2699, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.303, allocations: 150.1 MB / 1.353 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.303, allocations: 70.52 kB / 1.353 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01079/1.314, allocations: 4.006 MB / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.753e-06/1.314, allocations: 0 / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.314, allocations: 7.562 kB / 1.357 GB, free: 33.62 MB / 0.8386 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.0006053/1.315, allocations: 0.5033 MB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.315, allocations: 12.16 kB / 1.357 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/1.315, allocations: 27.25 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/1.315, allocations: 262.8 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/1.315, allocations: 7.844 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/1.315, allocations: 11.53 kB / 1.357 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002495/1.316, allocations: 130.8 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/1.316, allocations: 203.2 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/1.316, allocations: 0 / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/1.316, allocations: 0 / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.316, allocations: 3.938 kB / 1.358 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.317, allocations: 0.8103 MB / 1.359 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007659/1.318, allocations: 275.2 kB / 1.359 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/1.318, allocations: 79.12 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/1.318, allocations: 7.078 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/1.318, allocations: 92.58 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/1.318, allocations: 3.844 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002505/1.318, allocations: 134 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/1.318, allocations: 83.61 kB / 1.359 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/1.319, allocations: 187 kB / 1.359 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.319, allocations: 25.7 kB / 1.359 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/1.319, allocations: 162.6 kB / 1.36 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/1.319, allocations: 50.41 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/1.319, allocations: 0 / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.319, allocations: 331.7 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/1.319, allocations: 42.77 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/1.319, allocations: 75.09 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/1.319, allocations: 48.8 kB / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.319, allocations: 0 / 1.36 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001885/1.319, allocations: 147.2 kB / 1.36 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.447e-05/1.319, allocations: 189.3 kB / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.319, allocations: 3.844 kB / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.319, allocations: 0 / 1.36 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.32, allocations: 36.02 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.32, allocations: 1.734 kB / 1.36 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/1.32, allocations: 30.98 kB / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/1.32, allocations: 7.156 kB / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/1.32, allocations: 4.062 kB / 1.36 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001378/1.32, allocations: 90.12 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.32, allocations: 7.906 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-06/1.32, allocations: 3.953 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/1.32, allocations: 35.92 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/1.32, allocations: 3.984 kB / 1.361 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/1.32, allocations: 17.77 kB / 1.361 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.32, allocations: 3.969 kB / 1.361 GB, free: 31.39 MB / 0.8386 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 () * 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 7.573e-05/1.32, allocations: 109.9 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001587/1.32, allocations: 138.2 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/1.32, allocations: 21.36 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/1.32, allocations: 19.16 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.32, allocations: 3.984 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.32, allocations: 3.844 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.32, allocations: 1.641 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/1.321, allocations: 494.3 kB / 1.361 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.321, allocations: 3.953 kB / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/1.321, allocations: 28.28 kB / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.321, allocations: 0 / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.321, allocations: 5.531 kB / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.321, allocations: 4 kB / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.321, allocations: 0 / 1.361 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/1.321, allocations: 303.2 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/1.321, allocations: 96.95 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/1.321, allocations: 3.5 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.322, allocations: 14.73 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.322, allocations: 7.516 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/1.322, allocations: 3.875 kB / 1.362 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001195/1.322, allocations: 155.8 kB / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.322, allocations: 0 / 1.362 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003293/1.322, allocations: 75.02 kB / 1.362 GB, free: 30.57 MB / 0.8386 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 () * 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.0005629/1.323, allocations: 0.8433 MB / 1.363 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002517/1.323, allocations: 164.8 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.323, allocations: 4.188 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/1.323, allocations: 55.77 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.323, allocations: 34.97 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/1.324, allocations: 329.1 kB / 1.363 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/1.324, allocations: 0.7519 MB / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001392/1.325, allocations: 34.39 kB / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/1.325, allocations: 69.59 kB / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.325, allocations: 0 / 1.364 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/1.349, allocations: 3.77 MB / 1.368 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.349, allocations: 180.2 kB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/3.135, allocations: 0 / 1.368 GB, free: 28.54 MB / 0.8386 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