Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_latest_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.005988/0.005988, allocations: 97.62 kB / 15.73 MB, free: 6.062 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: 197.8 kB / 16.67 MB, free: 5.965 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.543/2.543, allocations: 469.4 MB / 0.7422 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.818, allocations: 159.1 MB / 1.22 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003278/0.8213, allocations: 2.046 MB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.8224, allocations: 0.562 MB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.8226, allocations: 4 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.8228, allocations: 23.67 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.8229, allocations: 39.66 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.8232, allocations: 87.83 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.8235, allocations: 220 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.8237, allocations: 111.6 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.8239, allocations: 95.64 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.824, allocations: 111.4 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.8241, allocations: 24 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.8242, allocations: 28 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.8243, allocations: 51.84 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.8244, allocations: 111.4 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.8248, allocations: 278.5 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8248, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8248, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8248, allocations: 0 / 1.223 GB, free: 14.53 MB / 0.9512 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.0008025/0.8256, allocations: 0.518 MB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.8257, allocations: 16.55 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.8257, allocations: 50.73 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.8258, allocations: 28.75 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.8261, allocations: 264.6 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8262, allocations: 16.36 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.8262, allocations: 24.38 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.8266, allocations: 220.9 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8266, allocations: 0 / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.8266, allocations: 8 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.8266, allocations: 4 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.8269, allocations: 143.9 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008787/0.8278, allocations: 0.5896 MB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.8282, allocations: 130.7 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8283, allocations: 44.84 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.8284, allocations: 8 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.8284, allocations: 30.56 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.8284, allocations: 0 / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004406/0.8288, allocations: 177.6 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/0.8289, allocations: 132.5 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.8291, allocations: 215 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.8291, allocations: 25.7 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/0.8292, allocations: 144.3 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.8293, allocations: 35.72 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.8293, allocations: 37.7 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8295, allocations: 334.8 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.8296, allocations: 43.98 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.8297, allocations: 80.27 kB / 1.227 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.8299, allocations: 93.62 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8299, allocations: 4 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002989/0.8302, allocations: 161.8 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.8303, allocations: 9.562 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8303, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.8303, allocations: 3.938 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8304, allocations: 19.92 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.8304, allocations: 4 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.8306, allocations: 23.97 kB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.8306, allocations: 11.98 kB / 1.227 GB, free: 10.64 MB / 0.9512 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.0001166/0.8307, allocations: 133.8 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.8308, allocations: 15.91 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.8311, allocations: 154.9 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.8311, allocations: 3.938 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8312, allocations: 8 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8312, allocations: 0 / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.8314, allocations: 261.5 kB / 1.227 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8314, allocations: 4 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.477e-05/0.8315, allocations: 11.98 kB / 1.228 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8316, allocations: 4 kB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.8316, allocations: 3.938 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.8316, allocations: 3.938 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8316, allocations: 0 / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.8319, allocations: 239.3 kB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.8319, allocations: 93.05 kB / 1.228 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.832, allocations: 4 kB / 1.228 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.8322, allocations: 27.91 kB / 1.228 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.8322, allocations: 23.97 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.8322, allocations: 3.984 kB / 1.228 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001226/0.8324, allocations: 156.4 kB / 1.228 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8324, allocations: 0 / 1.228 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002735/0.8327, allocations: 39.89 kB / 1.228 GB, free: 9.371 MB / 0.9512 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.0005964/0.8333, allocations: 0.7788 MB / 1.229 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.8336, allocations: 115.4 kB / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8336, allocations: 0 / 1.229 GB, free: 8.453 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.8337, allocations: 47.98 kB / 1.229 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.8341, allocations: 27.92 kB / 1.229 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.8363, allocations: 1.994 MB / 1.231 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8366, allocations: 0.7319 MB / 1.232 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.634e-05/0.8367, allocations: 17.42 kB / 1.232 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.8368, allocations: 67.41 kB / 1.232 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.8368, allocations: 0 / 1.232 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.8582, allocations: 4.01 MB / 1.236 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/8.407, allocations: 17.25 kB / 1.236 GB, free: 1.637 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches