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.0007902/0.0007903, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008409/0.000841, allocations: 168.7 kB / 15.95 MB, free: 204 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.402 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.284/2.284, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003039, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.6702, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.001995/0.6723, allocations: 1.68 MB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.6732, allocations: 0.5274 MB / 0.956 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.6733, allocations: 6.406 kB / 0.956 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.6735, allocations: 11.86 kB / 0.956 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.6736, allocations: 32.03 kB / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.6738, allocations: 45.67 kB / 0.9561 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.674, allocations: 199.2 kB / 0.9563 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.6742, allocations: 80.66 kB / 0.9564 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.6744, allocations: 71.61 kB / 0.9565 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.6745, allocations: 71.28 kB / 0.9565 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.6745, allocations: 5.625 kB / 0.9565 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.579e-05/0.6746, allocations: 10.22 kB / 0.9565 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.6746, allocations: 34.67 kB / 0.9566 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.6747, allocations: 57.05 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.6749, allocations: 193.5 kB / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6749, allocations: 0 / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6749, allocations: 0 / 0.9568 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.6749, allocations: 1.156 kB / 0.9568 GB, free: 5.746 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.0006463/0.6756, allocations: 0.4992 MB / 0.9573 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6756, allocations: 9.375 kB / 0.9573 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.487e-05/0.6757, allocations: 56.52 kB / 0.9574 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.6757, allocations: 33.11 kB / 0.9574 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.676, allocations: 237.6 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.676, allocations: 14.94 kB / 0.9576 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.6761, allocations: 15.69 kB / 0.9576 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.6764, allocations: 234.1 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.6765, allocations: 1.031 kB / 0.9579 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.6765, allocations: 10.03 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.6765, allocations: 9.734 kB / 0.9579 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/0.6768, allocations: 144.5 kB / 0.958 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.6776, allocations: 0.6112 MB / 0.9586 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.6779, allocations: 127.1 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.6781, allocations: 51.69 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.6781, allocations: 9.344 kB / 0.9588 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.6781, allocations: 36.25 kB / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.6781, allocations: 0 / 0.9588 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004275/0.6786, allocations: 180 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.6786, allocations: 131.1 kB / 0.9591 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.6788, allocations: 216 kB / 0.9593 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6788, allocations: 36.92 kB / 0.9594 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.126e-05/0.6789, allocations: 140.2 kB / 0.9595 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.6789, allocations: 26.88 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.6789, allocations: 5.062 kB / 0.9595 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.679, allocations: 335.2 kB / 0.9599 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.6791, allocations: 42.83 kB / 0.9599 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.6793, allocations: 102.1 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.6794, allocations: 42.53 kB / 0.96 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6794, allocations: 3.953 kB / 0.96 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002754/0.6797, allocations: 164.2 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6797, allocations: 5.594 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6797, allocations: 1.219 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6797, allocations: 0.9062 kB / 0.9602 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6798, allocations: 21.89 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6799, allocations: 2.219 kB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.68, allocations: 44.75 kB / 0.9603 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.68, allocations: 3 kB / 0.9603 GB, free: 2.824 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.0001076/0.6801, allocations: 134.5 kB / 0.9604 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.6802, allocations: 20.17 kB / 0.9604 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.6805, allocations: 157.9 kB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6805, allocations: 1.375 kB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6805, allocations: 1.375 kB / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6805, allocations: 480 / 0.9606 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.6808, allocations: 272 kB / 0.9608 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6808, allocations: 1.375 kB / 0.9608 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.6809, allocations: 24.31 kB / 0.9609 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6809, allocations: 1.375 kB / 0.9609 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.6809, allocations: 7.938 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6809, allocations: 1.375 kB / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6809, allocations: 0 / 0.9609 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.6812, allocations: 235.9 kB / 0.9611 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.6812, allocations: 96.98 kB / 0.9612 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.6813, allocations: 14.69 kB / 0.9612 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.6814, allocations: 23.23 kB / 0.9612 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.6815, allocations: 25.55 kB / 0.9612 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6815, allocations: 11.11 kB / 0.9613 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001052/0.6816, allocations: 149.3 kB / 0.9614 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6816, allocations: 3.938 kB / 0.9614 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002837/0.6819, allocations: 40.66 kB / 0.9614 GB, free: 1.832 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.000509/0.6824, allocations: 0.778 MB / 0.9622 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.6827, allocations: 118.7 kB / 0.9623 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6827, allocations: 9 kB / 0.9623 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.6829, allocations: 57.81 kB / 0.9624 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.6832, allocations: 25.86 kB / 0.9624 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.6849, allocations: 1.078 MB / 0.9635 GB, free: 268 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.6852, allocations: 0.7256 MB / 0.9642 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.78e-05/0.6853, allocations: 27.25 kB / 0.9642 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.6854, allocations: 64.56 kB / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.6854, allocations: 0 / 0.9643 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.7008, allocations: 3.702 MB / 0.9679 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.7011, allocations: 225.4 kB / 0.9681 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.435, allocations: 0 / 0.9681 GB, free: 13.55 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