Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001157/0.001157, allocations: 172.8 kB / 487.4 MB, free: 5.035 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.617/1.617, allocations: 221.5 MB / 0.7824 GB, free: 0.8828 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.0009106/0.0009104, allocations: 99.73 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.058e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3001, allocations: 142.4 MB / 1.206 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9717/1.272, allocations: 151.5 MB / 1.354 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.272, allocations: 91.09 kB / 1.354 GB, free: 18.13 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009464/1.282, allocations: 3.313 MB / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/1.282, allocations: 0 / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.512e-05/1.282, allocations: 3.844 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005881/1.282, allocations: 487.2 kB / 1.358 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/1.282, allocations: 16.03 kB / 1.358 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/1.282, allocations: 27.14 kB / 1.358 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/1.283, allocations: 234 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/1.283, allocations: 7.125 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/1.283, allocations: 15.53 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002103/1.283, allocations: 109.4 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/1.283, allocations: 177.4 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/1.283, allocations: 5.469 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.283, allocations: 0 / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.283, allocations: 3.844 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/1.284, allocations: 0.5639 MB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/1.284, allocations: 111.2 kB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/1.284, allocations: 37.28 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/1.284, allocations: 3.844 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/1.285, allocations: 34.52 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/1.285, allocations: 0 / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002607/1.285, allocations: 107.1 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.285, allocations: 143.1 kB / 1.359 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/1.285, allocations: 154.4 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.285, allocations: 32.5 kB / 1.36 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/1.285, allocations: 146.1 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/1.285, allocations: 27.12 kB / 1.36 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-06/1.285, allocations: 0 / 1.36 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.285, allocations: 324.7 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/1.285, allocations: 36.47 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.363e-05/1.285, allocations: 68.47 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/1.286, allocations: 29.16 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.286, allocations: 0 / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000167/1.286, allocations: 124.2 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.286, allocations: 7.844 kB / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.286, allocations: 0 / 1.36 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.286, allocations: 3.953 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.286, allocations: 22.39 kB / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.286, allocations: 96 / 1.36 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.286, allocations: 43.33 kB / 1.36 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/1.286, allocations: 3.844 kB / 1.36 GB, free: 31.69 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 8.882e-05/1.286, allocations: 114.5 kB / 1.36 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001601/1.286, allocations: 105.4 kB / 1.361 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/1.286, allocations: 19.45 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/1.287, allocations: 124.2 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/1.287, allocations: 3.969 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.287, allocations: 0 / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.287, allocations: 0 / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/1.287, allocations: 232.7 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.287, allocations: 0 / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.732e-05/1.287, allocations: 29.77 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.287, allocations: 0 / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/1.287, allocations: 0 / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.287, allocations: 7.375 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.287, allocations: 3.844 kB / 1.361 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/1.287, allocations: 200.4 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/1.287, allocations: 92.14 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/1.287, allocations: 3.844 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.287, allocations: 29.69 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/1.287, allocations: 32.53 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/1.287, allocations: 3.844 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.015e-05/1.288, allocations: 128.5 kB / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.288, allocations: 0 / 1.361 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002451/1.288, allocations: 34.84 kB / 1.361 GB, free: 30.97 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.0005141/1.288, allocations: 0.7504 MB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001716/1.289, allocations: 85.94 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.289, allocations: 0 / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/1.289, allocations: 45.41 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/1.289, allocations: 23.05 kB / 1.362 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/1.289, allocations: 247.5 kB / 1.363 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/1.29, allocations: 0.7332 MB / 1.363 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.987e-05/1.29, allocations: 22.67 kB / 1.363 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/1.29, allocations: 62.36 kB / 1.363 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.29, allocations: 0 / 1.363 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/1.312, allocations: 3.053 MB / 1.366 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001583/1.312, allocations: 172.6 kB / 1.366 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.93, allocations: 0 / 1.366 GB, free: 29.03 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat does not exist to compare? outputFormat=mat