Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.459/2.459, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001233/0.001233, allocations: 187.8 kB / 0.4902 GB, free: 2.262 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.669/1.669, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.00103/0.00103, allocations: 100.3 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 11.53 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3265, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.5435, allocations: 153 MB / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5438, allocations: 95.94 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.5541, allocations: 3.356 MB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5542, allocations: 0 / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.668e-05/0.5542, allocations: 4 kB / 1.382 GB, free: 12.96 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009279/0.5551, allocations: 0.4982 MB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5552, allocations: 8.031 kB / 1.383 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.5553, allocations: 58.55 kB / 1.383 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.5554, allocations: 27.67 kB / 1.383 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.5558, allocations: 235.5 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5559, allocations: 12 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.5559, allocations: 19.94 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.5565, allocations: 233.4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5565, allocations: 3.984 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.5565, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.5566, allocations: 8 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.5569, allocations: 147.7 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.5581, allocations: 0.6092 MB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.5586, allocations: 126.8 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.5586, allocations: 4.125 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.5587, allocations: 38.56 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.5587, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.000526/0.5592, allocations: 189.3 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.5593, allocations: 128.5 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.5596, allocations: 194.3 kB / 1.385 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.5596, allocations: 33.69 kB / 1.385 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.5598, allocations: 148.1 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.5598, allocations: 27.61 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.5598, allocations: 0 / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.56, allocations: 330.8 kB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.5602, allocations: 47.98 kB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.5603, allocations: 87.41 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.5605, allocations: 47.98 kB / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5605, allocations: 0 / 1.385 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003586/0.5609, allocations: 164.9 kB / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5609, allocations: 5.094 kB / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5609, allocations: 0 / 1.385 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.5609, allocations: 4 kB / 1.385 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.5611, allocations: 15.98 kB / 1.385 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5611, allocations: 384 / 1.385 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.5613, allocations: 39.91 kB / 1.385 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.5613, allocations: 8 kB / 1.385 GB, free: 9.234 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.temPro.hysHig.y,temPro.hysHig.y,$PRE.temPro.hysLow.y,temPro.hysLow.y,temPro.on.y,$PRE.temPro.hysdTConEva.y,temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001848/0.5615, allocations: 138.6 kB / 1.386 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.5616, allocations: 27.61 kB / 1.386 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.562, allocations: 155 kB / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.562, allocations: 0 / 1.386 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.562, allocations: 15.92 kB / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.562, allocations: 0 / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.5624, allocations: 273.5 kB / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5624, allocations: 0 / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5625, allocations: 15.98 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5625, allocations: 4 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.5625, allocations: 7.938 kB / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.5625, allocations: 0 / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5626, allocations: 4 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.5629, allocations: 231.3 kB / 1.386 GB, free: 8.305 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.157e-05/0.563, allocations: 100.9 kB / 1.386 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5631, allocations: 4.047 kB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.5633, allocations: 39.91 kB / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.5634, allocations: 27.95 kB / 1.386 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.5634, allocations: 0 / 1.386 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001561/0.5635, allocations: 156.6 kB / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5635, allocations: 0 / 1.387 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002925/0.5638, allocations: 43.83 kB / 1.387 GB, free: 7.922 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008464/0.5647, allocations: 0.7904 MB / 1.387 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.565, allocations: 112 kB / 1.388 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.5651, allocations: 0 / 1.388 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.5652, allocations: 67.91 kB / 1.388 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.5655, allocations: 19.95 kB / 1.388 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.5675, allocations: 1.073 MB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.568, allocations: 0.7361 MB / 1.389 GB, free: 5.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.753e-05/0.5681, allocations: 17.41 kB / 1.389 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.5683, allocations: 67.41 kB / 1.389 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of SimCode: time 7.51e-07/0.5683, allocations: 4 kB / 1.389 GB, free: 4.934 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.5889, allocations: 3.753 MB / 1.393 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.5892, allocations: 221.1 kB / 1.393 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.567, allocations: 0 / 1.393 GB, free: 1.164 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat does not exist to compare? outputFormat=mat