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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001636/0.001636, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.2 MB / 0.6647 GB, free: 304 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 59.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.597, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002758/0.5998, allocations: 2.034 MB / 0.9517 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.6007, allocations: 0.5633 MB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.6007, allocations: 2.75 kB / 0.9523 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.6009, allocations: 27.66 kB / 0.9523 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.6009, allocations: 39.8 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.6012, allocations: 77.44 kB / 0.9524 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.6014, allocations: 222.6 kB / 0.9526 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.6016, allocations: 118.8 kB / 0.9527 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.6017, allocations: 97.97 kB / 0.9528 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.624e-05/0.6018, allocations: 96.34 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.6018, allocations: 24.94 kB / 0.9529 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.6019, allocations: 35.59 kB / 0.953 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.602, allocations: 55.95 kB / 0.953 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.663e-05/0.6021, allocations: 105.7 kB / 0.9531 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.6023, allocations: 272.2 kB / 0.9534 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6023, allocations: 0 / 0.9534 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6023, allocations: 0 / 0.9534 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.6023, allocations: 4 kB / 0.9534 GB, free: 6.359 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.0006151/0.6029, allocations: 0.5127 MB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.603, allocations: 9.219 kB / 0.9539 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.603, allocations: 52.92 kB / 0.9539 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.6031, allocations: 34.36 kB / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.6033, allocations: 252.1 kB / 0.9542 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6034, allocations: 15.41 kB / 0.9542 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.6034, allocations: 16.81 kB / 0.9543 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.6037, allocations: 223.2 kB / 0.9545 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.6038, allocations: 4.734 kB / 0.9545 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.6038, allocations: 14.41 kB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6038, allocations: 3.406 kB / 0.9545 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.6041, allocations: 140.8 kB / 0.9546 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/0.6048, allocations: 0.5926 MB / 0.9552 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.6052, allocations: 120.2 kB / 0.9553 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.6053, allocations: 50.41 kB / 0.9554 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.6053, allocations: 0 / 0.9554 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.6053, allocations: 33.75 kB / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.6053, allocations: 0 / 0.9554 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004138/0.6058, allocations: 172.4 kB / 0.9556 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.6058, allocations: 133.8 kB / 0.9557 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.606, allocations: 210.2 kB / 0.9559 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.606, allocations: 37.36 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.6061, allocations: 143 kB / 0.9561 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.6061, allocations: 32.95 kB / 0.9561 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.6061, allocations: 38.2 kB / 0.9561 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/0.6062, allocations: 334.3 kB / 0.9564 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.6063, allocations: 47.48 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.6064, allocations: 86.58 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.6066, allocations: 84.19 kB / 0.9567 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6066, allocations: 1.125 kB / 0.9567 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002757/0.6069, allocations: 161.7 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6069, allocations: 5.031 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6069, allocations: 1.094 kB / 0.9568 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.607, allocations: 5.094 kB / 0.9568 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6071, allocations: 21.55 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6071, allocations: 0 / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.6072, allocations: 29.48 kB / 0.9569 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.6073, allocations: 15.58 kB / 0.9569 GB, free: 3.379 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 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.971e-05/0.6074, allocations: 130.4 kB / 0.957 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.6074, allocations: 21.59 kB / 0.957 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.6077, allocations: 146.7 kB / 0.9572 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6077, allocations: 9.266 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6077, allocations: 0 / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6077, allocations: 5.438 kB / 0.9572 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.608, allocations: 268.2 kB / 0.9574 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.608, allocations: 0 / 0.9574 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.6081, allocations: 19.14 kB / 0.9575 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6081, allocations: 1.188 kB / 0.9575 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.6081, allocations: 5.281 kB / 0.9575 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6081, allocations: 3.938 kB / 0.9575 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6081, allocations: 0 / 0.9575 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.6084, allocations: 237 kB / 0.9577 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.6084, allocations: 94.52 kB / 0.9578 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.6084, allocations: 5.531 kB / 0.9578 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.6086, allocations: 23.28 kB / 0.9578 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.6087, allocations: 21.53 kB / 0.9578 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.6087, allocations: 7.141 kB / 0.9578 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.693e-05/0.6088, allocations: 157.7 kB / 0.958 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6088, allocations: 8.844 kB / 0.958 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002721/0.6091, allocations: 36.56 kB / 0.958 GB, free: 2.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004559/0.6095, allocations: 0.7719 MB / 0.9588 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.6098, allocations: 117.8 kB / 0.9589 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6099, allocations: 1.375 kB / 0.9589 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.61, allocations: 50.17 kB / 0.9589 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.6103, allocations: 29.41 kB / 0.959 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.6124, allocations: 1.977 MB / 0.9609 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6127, allocations: 0.7412 MB / 0.9616 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.736e-05/0.6128, allocations: 14.89 kB / 0.9616 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6129, allocations: 61.56 kB / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.6129, allocations: 1.375 kB / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.6319, allocations: 3.952 MB / 0.9656 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.333, allocations: 12.73 kB / 0.9656 GB, free: 13.23 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches