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.255/2.255, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.00105/0.00105, allocations: 174.4 kB / 492.3 MB, free: 0.6133 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.778/1.778, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001183/0.001183, allocations: 95.02 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.163e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 142.4 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.462, allocations: 152.2 MB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.462, allocations: 88.02 kB / 1.361 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009936/1.472, allocations: 3.341 MB / 1.364 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/1.472, allocations: 0 / 1.364 GB, free: 34.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.552e-05/1.472, allocations: 7.562 kB / 1.364 GB, free: 34.6 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.0007657/1.473, allocations: 484 kB / 1.365 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.473, allocations: 14.59 kB / 1.365 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.291e-05/1.473, allocations: 55.98 kB / 1.365 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/1.473, allocations: 31.17 kB / 1.365 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/1.474, allocations: 227.9 kB / 1.365 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/1.474, allocations: 11.34 kB / 1.365 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/1.474, allocations: 18.88 kB / 1.365 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/1.474, allocations: 211.4 kB / 1.365 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.474, allocations: 1.531 kB / 1.365 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/1.474, allocations: 7.75 kB / 1.365 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/1.474, allocations: 6.391 kB / 1.365 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/1.474, allocations: 119.7 kB / 1.366 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/1.475, allocations: 0.6088 MB / 1.366 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.476, allocations: 120.5 kB / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.741e-05/1.476, allocations: 41.73 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/1.476, allocations: 3.312 kB / 1.366 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.476, allocations: 39.19 kB / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/1.476, allocations: 0 / 1.366 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002624/1.476, allocations: 117.1 kB / 1.367 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.476, allocations: 128.5 kB / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/1.476, allocations: 191.7 kB / 1.367 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.476, allocations: 32.86 kB / 1.367 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/1.476, allocations: 142.4 kB / 1.367 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/1.477, allocations: 30.08 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/1.477, allocations: 4.094 kB / 1.367 GB, free: 33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.225e-05/1.477, allocations: 335.2 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.694e-05/1.477, allocations: 32.81 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/1.477, allocations: 68.73 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/1.477, allocations: 32.83 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.477, allocations: 0 / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001966/1.477, allocations: 136 kB / 1.368 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.477, allocations: 11.69 kB / 1.368 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.477, allocations: 3.188 kB / 1.368 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.477, allocations: 0 / 1.368 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/1.477, allocations: 18.69 kB / 1.368 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.477, allocations: 7.812 kB / 1.368 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/1.477, allocations: 44.61 kB / 1.368 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/1.477, allocations: 3.875 kB / 1.368 GB, free: 32.58 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 7.676e-05/1.478, allocations: 116.4 kB / 1.368 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/1.478, allocations: 19.55 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/1.478, allocations: 133.8 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.478, allocations: 4.031 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.478, allocations: 0 / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.478, allocations: 4 kB / 1.368 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/1.478, allocations: 270.8 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.478, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.675e-05/1.478, allocations: 18.75 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/1.478, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/1.478, allocations: 7 kB / 1.368 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.478, allocations: 0 / 1.368 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.478, allocations: 3.875 kB / 1.368 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/1.479, allocations: 215 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/1.479, allocations: 96.48 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.445e-05/1.479, allocations: 4.031 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/1.479, allocations: 39.22 kB / 1.369 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/1.479, allocations: 27.22 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/1.479, allocations: 7.875 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00012/1.479, allocations: 151 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.479, allocations: 0 / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002541/1.479, allocations: 34.03 kB / 1.369 GB, free: 31.88 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.0004862/1.48, allocations: 0.7563 MB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001985/1.48, allocations: 93.3 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.48, allocations: 0 / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/1.48, allocations: 44.34 kB / 1.37 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/1.48, allocations: 25.48 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/1.481, allocations: 263.9 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/1.481, allocations: 0.7382 MB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.757e-05/1.481, allocations: 15.3 kB / 1.371 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.482, allocations: 73.03 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.482, allocations: 4 kB / 1.371 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/1.5, allocations: 3.721 MB / 1.374 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/1.5, allocations: 184.8 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/3.27, allocations: 1.719 kB / 1.375 GB, free: 29.82 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