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.006184/0.006184, allocations: 98.77 kB / 15.73 MB, free: 6.031 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.001274/0.001274, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.127/2.127, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 75.81 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.748, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003133/0.7512, allocations: 2.042 MB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.7522, allocations: 0.5627 MB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.7523, allocations: 3.281 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.7525, allocations: 28.56 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.7526, allocations: 42.98 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.7529, allocations: 74.94 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.7532, allocations: 231.4 kB / 1.09 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.7534, allocations: 112.1 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.7536, allocations: 95.16 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.7537, allocations: 95.64 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.7537, allocations: 24.41 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.133e-05/0.7538, allocations: 33.97 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.7539, allocations: 59.81 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.754, allocations: 110.3 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.7544, allocations: 278.1 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7544, allocations: 3.938 kB / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7544, allocations: 0 / 1.091 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.7544, allocations: 5.188 kB / 1.091 GB, free: 2.805 MB / 0.8575 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.0007348/0.7551, allocations: 0.5136 MB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.7552, allocations: 10.44 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.7553, allocations: 52.53 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.7553, allocations: 26.14 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.7556, allocations: 261.2 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.7557, allocations: 15.77 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.7557, allocations: 16.59 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.7561, allocations: 226.6 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7561, allocations: 0 / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.7562, allocations: 10.06 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7562, allocations: 4.031 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.7565, allocations: 144 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008867/0.7574, allocations: 0.5867 MB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.7578, allocations: 121.3 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.7579, allocations: 54.3 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.758, allocations: 1.062 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.758, allocations: 37.55 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.758, allocations: 4 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004946/0.7585, allocations: 167.9 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.7586, allocations: 131.6 kB / 1.093 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.7588, allocations: 218.4 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.7588, allocations: 32.42 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.7589, allocations: 148.1 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.759, allocations: 31.14 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.759, allocations: 43.69 kB / 1.094 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.958e-05/0.7591, allocations: 328.3 kB / 1.094 GB, free: 380 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.7592, allocations: 46.25 kB / 1.094 GB, free: 364 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.7594, allocations: 89.12 kB / 1.094 GB, free: 300 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.7596, allocations: 97.09 kB / 1.094 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7596, allocations: 4.625 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003198/0.76, allocations: 151.1 kB / 1.095 GB, free: 168 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.76, allocations: 5.656 kB / 1.095 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.76, allocations: 0.8438 kB / 1.095 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.76, allocations: 4.75 kB / 1.095 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.7601, allocations: 21.27 kB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7601, allocations: 5.906 kB / 1.095 GB, free: 156 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.7603, allocations: 28.12 kB / 1.095 GB, free: 148 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.7603, allocations: 3.906 kB / 1.095 GB, free: 148 kB / 0.8575 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 0.0001047/0.7604, allocations: 130.7 kB / 1.095 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.7605, allocations: 18.25 kB / 1.095 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.7609, allocations: 149.2 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7609, allocations: 6.047 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7609, allocations: 0 / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7609, allocations: 1.094 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.7613, allocations: 276.2 kB / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7613, allocations: 0 / 1.095 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.7614, allocations: 22.5 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.7614, allocations: 1.5 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.7614, allocations: 2.422 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7614, allocations: 4.719 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7615, allocations: 5.703 kB / 1.095 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.7618, allocations: 227.9 kB / 1.095 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.7619, allocations: 93.89 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.7619, allocations: 6.891 kB / 1.096 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.7621, allocations: 22.02 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.7622, allocations: 27.55 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.7622, allocations: 4.938 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001433/0.7623, allocations: 158.2 kB / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7623, allocations: 0 / 1.096 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002857/0.7626, allocations: 41.62 kB / 1.096 GB, free: 15.27 MB / 0.8731 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.0006705/0.7633, allocations: 0.7773 MB / 1.097 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.7636, allocations: 111.9 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.7637, allocations: 0 / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.7638, allocations: 53.27 kB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.7642, allocations: 29.97 kB / 1.097 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.7669, allocations: 1.985 MB / 1.099 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.7672, allocations: 0.7309 MB / 1.099 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.994e-05/0.7673, allocations: 17 kB / 1.099 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.7675, allocations: 65.92 kB / 1.099 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.7675, allocations: 4 kB / 1.099 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.7899, allocations: 3.989 MB / 1.103 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.137, allocations: 14.11 kB / 1.103 GB, free: 11.74 MB / 0.8731 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