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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6474, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001844/0.6493, allocations: 1.669 MB / 0.9552 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.6501, allocations: 0.5267 MB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.6502, allocations: 2.781 kB / 0.9557 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.562e-05/0.6503, allocations: 13.23 kB / 0.9558 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.6503, allocations: 32.84 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.6506, allocations: 61.67 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.6507, allocations: 128 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.6509, allocations: 83.64 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.651, allocations: 70.23 kB / 0.9561 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6512, allocations: 72.17 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.6512, allocations: 5.906 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.597e-05/0.6513, allocations: 9.438 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.6513, allocations: 34.7 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.6514, allocations: 56.73 kB / 0.9563 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.6516, allocations: 196.7 kB / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.6516, allocations: 0 / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6516, allocations: 0 / 0.9565 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6516, allocations: 0.9375 kB / 0.9565 GB, free: 5.828 MB / 0.7169 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.0006514/0.6522, allocations: 0.4915 MB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6523, allocations: 8.781 kB / 0.957 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.6523, allocations: 57.62 kB / 0.957 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.6524, allocations: 28.05 kB / 0.957 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6527, allocations: 241.4 kB / 0.9573 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.6527, allocations: 15.59 kB / 0.9573 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.6527, allocations: 20.03 kB / 0.9573 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.6531, allocations: 232.7 kB / 0.9575 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.6531, allocations: 0 / 0.9575 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.6532, allocations: 6.062 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.6532, allocations: 8.516 kB / 0.9575 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.6535, allocations: 145.9 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.6543, allocations: 0.6167 MB / 0.9583 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.6547, allocations: 121.6 kB / 0.9584 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.6547, allocations: 1.719 kB / 0.9584 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.6548, allocations: 47.88 kB / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.6548, allocations: 0 / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004163/0.6552, allocations: 176.2 kB / 0.9586 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.6552, allocations: 134.3 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.6554, allocations: 213.3 kB / 0.959 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.6554, allocations: 32.61 kB / 0.959 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.6555, allocations: 140.2 kB / 0.9591 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.6555, allocations: 39.66 kB / 0.9592 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.6555, allocations: 0 / 0.9592 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.6556, allocations: 330.9 kB / 0.9595 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.6557, allocations: 51.47 kB / 0.9595 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.6558, allocations: 96.27 kB / 0.9596 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.6559, allocations: 42.11 kB / 0.9597 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.656, allocations: 4 kB / 0.9597 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002741/0.6562, allocations: 161 kB / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.6563, allocations: 5.5 kB / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6563, allocations: 0 / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.6563, allocations: 1.375 kB / 0.9598 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6564, allocations: 27.08 kB / 0.9598 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6564, allocations: 1.375 kB / 0.9598 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.6566, allocations: 40.44 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6566, allocations: 4.125 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001043/0.6567, allocations: 134.2 kB / 0.96 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.6567, allocations: 20.02 kB / 0.96 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.6571, allocations: 154.2 kB / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6571, allocations: 1.344 kB / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.6571, allocations: 0 / 0.9602 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6571, allocations: 5.125 kB / 0.9602 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.6573, allocations: 268.5 kB / 0.9604 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6574, allocations: 4 kB / 0.9604 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.6575, allocations: 25.52 kB / 0.9605 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6575, allocations: 3.953 kB / 0.9605 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.6575, allocations: 5.297 kB / 0.9605 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6575, allocations: 1.406 kB / 0.9605 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6575, allocations: 0 / 0.9605 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.6578, allocations: 239.6 kB / 0.9607 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.6578, allocations: 97.25 kB / 0.9608 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.6579, allocations: 10.27 kB / 0.9608 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.6581, allocations: 27.58 kB / 0.9608 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.6581, allocations: 33.88 kB / 0.9609 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6581, allocations: 2.219 kB / 0.9609 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001035/0.6583, allocations: 149.3 kB / 0.961 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6583, allocations: 0 / 0.961 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002945/0.6586, allocations: 40.47 kB / 0.9611 GB, free: 1.953 MB / 0.7169 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.0004709/0.659, allocations: 0.784 MB / 0.9618 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.6593, allocations: 119.7 kB / 0.9619 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6593, allocations: 0.6875 kB / 0.9619 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.6595, allocations: 58.42 kB / 0.962 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.6597, allocations: 24.53 kB / 0.962 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.6612, allocations: 1.213 MB / 0.9632 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.6615, allocations: 0.7343 MB / 0.9639 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.815e-05/0.6616, allocations: 24.02 kB / 0.9639 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6617, allocations: 64.19 kB / 0.964 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6617, allocations: 288 / 0.964 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.675, allocations: 3.681 MB / 0.9676 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.6753, allocations: 219.9 kB / 0.9678 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.4, allocations: 5 kB / 0.9678 GB, free: 13.54 MB / 0.7325 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