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.386/2.386, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001967/0.001967, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.00112/0.00112, allocations: 107.7 kB / 0.9318 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/4.009e-05, allocations: 5.719 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2831, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9578/1.241, allocations: 153 MB / 1.368 GB, free: 1.012 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/1.241, allocations: 85.84 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009661/1.251, allocations: 3.349 MB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.251, allocations: 0 / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.488e-05/1.251, allocations: 4 kB / 1.372 GB, free: 14.08 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000741/1.252, allocations: 488.6 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.252, allocations: 12.03 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/1.252, allocations: 50.23 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/1.252, allocations: 27.67 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/1.252, allocations: 234 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/1.252, allocations: 11.5 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/1.252, allocations: 18.88 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/1.253, allocations: 204.2 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.253, allocations: 1.969 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/1.253, allocations: 6.562 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.253, allocations: 4 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002329/1.253, allocations: 128.4 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.254, allocations: 0.6116 MB / 1.373 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/1.254, allocations: 118.5 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/1.255, allocations: 39.77 kB / 1.374 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.832e-05/1.255, allocations: 11.75 kB / 1.374 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/1.255, allocations: 38.5 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/1.255, allocations: 0 / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003231/1.255, allocations: 121.7 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/1.255, allocations: 128.5 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/1.255, allocations: 186.2 kB / 1.374 GB, free: 11.81 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/1.255, allocations: 36.62 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/1.255, allocations: 134.2 kB / 1.374 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/1.255, allocations: 34.97 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-06/1.255, allocations: 3.562 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.256, allocations: 333.8 kB / 1.374 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/1.256, allocations: 38.56 kB / 1.375 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/1.256, allocations: 68.19 kB / 1.375 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.928e-05/1.256, allocations: 35.23 kB / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.256, allocations: 0 / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002377/1.256, allocations: 137.8 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.256, allocations: 8 kB / 1.375 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.256, allocations: 4 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.256, allocations: 0 / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/1.256, allocations: 15.98 kB / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.256, allocations: 0 / 1.375 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/1.256, allocations: 43 kB / 1.375 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/1.257, allocations: 8 kB / 1.375 GB, free: 11.01 MB / 0.8386 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 () * 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 9.885e-05/1.257, allocations: 112.9 kB / 1.375 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/1.257, allocations: 23.77 kB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/1.257, allocations: 125.9 kB / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.257, allocations: 0 / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.257, allocations: 3.938 kB / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.257, allocations: 0 / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000305/1.257, allocations: 272 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.257, allocations: 4 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/1.257, allocations: 16.17 kB / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.257, allocations: 7.953 kB / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/1.257, allocations: 11.06 kB / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.257, allocations: 0 / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.257, allocations: 0 / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/1.258, allocations: 208.6 kB / 1.376 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/1.258, allocations: 100.3 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/1.258, allocations: 7.953 kB / 1.376 GB, free: 10.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.258, allocations: 35.47 kB / 1.376 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/1.258, allocations: 23.14 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.258, allocations: 4 kB / 1.376 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001363/1.258, allocations: 154.4 kB / 1.376 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.834e-06/1.258, allocations: 0 / 1.376 GB, free: 9.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002568/1.259, allocations: 42.83 kB / 1.376 GB, free: 9.93 MB / 0.8386 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) * 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.0006385/1.259, allocations: 0.7544 MB / 1.377 GB, free: 9.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000227/1.259, allocations: 93.69 kB / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.259, allocations: 0 / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/1.26, allocations: 50.98 kB / 1.377 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/1.26, allocations: 35.78 kB / 1.377 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006761/1.26, allocations: 253.3 kB / 1.377 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/1.261, allocations: 0.7361 MB / 1.378 GB, free: 8.039 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.012e-05/1.261, allocations: 17.25 kB / 1.378 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.261, allocations: 62.91 kB / 1.378 GB, free: 8 MB / 0.8386 GB Notification: Performance of SimCode: time 3.537e-06/1.261, allocations: 0 / 1.378 GB, free: 8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/1.278, allocations: 3.733 MB / 1.382 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.278, allocations: 194.3 kB / 1.382 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/3.033, allocations: 1.828 kB / 1.382 GB, free: 4.266 MB / 0.8386 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