Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 2.523/2.523, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001398/0.001397, allocations: 187.5 kB / 0.4901 GB, free: 2.281 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.645/1.645, allocations: 223.1 MB / 0.7992 GB, free: 15.69 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.0009292/0.0009292, allocations: 104.1 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 7.969 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.531, allocations: 152 MB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5314, allocations: 83.94 kB / 1.378 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01091/0.5424, allocations: 4.099 MB / 1.382 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.158e-06/0.5424, allocations: 0 / 1.382 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.5425, allocations: 4 kB / 1.382 GB, free: 9 MB / 0.8855 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.001004/0.5435, allocations: 0.5228 MB / 1.382 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.5436, allocations: 12.56 kB / 1.382 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.782e-05/0.5437, allocations: 58.48 kB / 1.382 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.5438, allocations: 35.62 kB / 1.382 GB, free: 8.316 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004493/0.5442, allocations: 279.2 kB / 1.383 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.5443, allocations: 20.38 kB / 1.383 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.5443, allocations: 23.98 kB / 1.383 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.5448, allocations: 241.9 kB / 1.383 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5449, allocations: 7.984 kB / 1.383 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.5449, allocations: 8 kB / 1.383 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5449, allocations: 8 kB / 1.383 GB, free: 7.688 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.5453, allocations: 173.7 kB / 1.383 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.5467, allocations: 0.8689 MB / 1.384 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/0.5477, allocations: 330.7 kB / 1.384 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.5478, allocations: 4.203 kB / 1.384 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.5481, allocations: 131.2 kB / 1.384 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.355e-06/0.5481, allocations: 3.938 kB / 1.384 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0006112/0.5487, allocations: 245.3 kB / 1.385 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.5488, allocations: 77.11 kB / 1.385 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.5491, allocations: 233.8 kB / 1.385 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.5491, allocations: 33.7 kB / 1.385 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5493, allocations: 160.2 kB / 1.385 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.5493, allocations: 51.2 kB / 1.385 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.5493, allocations: 4 kB / 1.385 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5495, allocations: 330.8 kB / 1.386 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.5497, allocations: 63.97 kB / 1.386 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5498, allocations: 104.4 kB / 1.386 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.55, allocations: 70.27 kB / 1.386 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.55, allocations: 3.953 kB / 1.386 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004172/0.5504, allocations: 209.4 kB / 1.386 GB, free: 4.496 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.5506, allocations: 181.9 kB / 1.386 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.5506, allocations: 0 / 1.386 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.5506, allocations: 4 kB / 1.386 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5508, allocations: 35.98 kB / 1.386 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5508, allocations: 4 kB / 1.386 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.551, allocations: 27.78 kB / 1.386 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.551, allocations: 8 kB / 1.386 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.551, allocations: 5.094 kB / 1.386 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002511/0.5513, allocations: 130.6 kB / 1.386 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.5513, allocations: 0 / 1.386 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.5513, allocations: 0 / 1.386 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5514, allocations: 35.92 kB / 1.386 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5514, allocations: 3.938 kB / 1.386 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.5516, allocations: 19.84 kB / 1.386 GB, free: 4.039 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5516, allocations: 7.984 kB / 1.386 GB, free: 4.031 MB / 0.8855 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.0001929/0.5518, allocations: 217.2 kB / 1.387 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.5518, allocations: 23.67 kB / 1.387 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.043e-05/0.5519, allocations: 29.83 kB / 1.387 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5519, allocations: 0 / 1.387 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5519, allocations: 0 / 1.387 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5519, allocations: 4 kB / 1.387 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.5527, allocations: 0.5764 MB / 1.387 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5527, allocations: 3.938 kB / 1.387 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.5529, allocations: 35.98 kB / 1.387 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5529, allocations: 0 / 1.387 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5529, allocations: 0 / 1.387 GB, free: 3.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5529, allocations: 3.984 kB / 1.387 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5529, allocations: 0 / 1.387 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.5536, allocations: 385 kB / 1.388 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.5537, allocations: 112.8 kB / 1.388 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.5537, allocations: 4 kB / 1.388 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5538, allocations: 11.98 kB / 1.388 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.5539, allocations: 7.984 kB / 1.388 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5539, allocations: 8 kB / 1.388 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002037/0.5541, allocations: 194 kB / 1.388 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5541, allocations: 4 kB / 1.388 GB, free: 2.332 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003875/0.5545, allocations: 79.94 kB / 1.388 GB, free: 2.254 MB / 0.8855 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.0009716/0.5555, allocations: 0.9118 MB / 1.389 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005227/0.556, allocations: 218.6 kB / 1.389 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5561, allocations: 0 / 1.389 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.5562, allocations: 83.89 kB / 1.389 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.5566, allocations: 48.59 kB / 1.389 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.5592, allocations: 1.547 MB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.5596, allocations: 0.7561 MB / 1.392 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000132/0.5597, allocations: 29.88 kB / 1.392 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.5599, allocations: 79.41 kB / 1.392 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of SimCode: time 5.71e-07/0.5599, allocations: 0 / 1.392 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.5791, allocations: 4.439 MB / 1.396 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.5794, allocations: 233.8 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.48, allocations: 1.688 kB / 1.396 GB, free: 10.02 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir_res.mat does not exist to compare? outputFormat=mat