Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_10_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.001212/0.001212, 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.001277/0.001277, allocations: 192.6 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.35/1.35, 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 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 0.8694 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5903/0.5916, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003489/0.5951, allocations: 2.037 MB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.5964, allocations: 0.5727 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.5966, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.5968, allocations: 23.72 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.5969, allocations: 27.62 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.5972, allocations: 83.83 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.5975, allocations: 224 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.5977, allocations: 107.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.5979, allocations: 95.56 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.5981, allocations: 103.5 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.5981, allocations: 24 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.5982, allocations: 28 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.5983, allocations: 59.77 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5984, allocations: 103.5 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.5987, allocations: 277.3 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5987, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5988, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.5988, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 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.0008224/0.5996, allocations: 0.5195 MB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.5997, allocations: 8.031 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.5997, allocations: 50.73 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.5998, allocations: 32.64 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.6001, allocations: 252.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6001, allocations: 12.38 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.6002, allocations: 20.38 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.6006, allocations: 232.6 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6006, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.6006, allocations: 8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6007, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.601, allocations: 139.9 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.6019, allocations: 0.5932 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.6023, allocations: 118.8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.6024, allocations: 45.03 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.6025, allocations: 15.88 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.6025, allocations: 30.56 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.6025, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004637/0.603, allocations: 177.3 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.603, allocations: 132.5 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.6032, allocations: 210.9 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.6033, allocations: 29.7 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.6034, allocations: 148.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.6034, allocations: 31.55 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.6035, allocations: 37.7 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6036, allocations: 330.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.6037, allocations: 43.98 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.6039, allocations: 89.39 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.6041, allocations: 99.62 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6041, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003059/0.6044, allocations: 153.4 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6044, allocations: 4 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6045, allocations: 3.984 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6045, allocations: 7.938 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.6046, allocations: 15.98 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6046, allocations: 32 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.6047, allocations: 36.19 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6048, allocations: 4 kB / 1.025 GB, free: 10.82 MB / 0.7794 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.0001198/0.6049, allocations: 137.8 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.605, allocations: 15.81 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.6053, allocations: 155 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6053, allocations: 3.938 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6053, allocations: 3.938 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.6053, allocations: 4.031 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.6056, allocations: 273.4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6056, allocations: 0 / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.6057, allocations: 15.98 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.6057, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.6057, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.6058, allocations: 7.938 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6058, allocations: 3.938 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.6061, allocations: 231.2 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.6061, allocations: 92.86 kB / 1.025 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.6062, allocations: 11.98 kB / 1.025 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6063, allocations: 23.92 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.6064, allocations: 23.95 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6064, allocations: 8 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001228/0.6066, allocations: 144.6 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6066, allocations: 0 / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000274/0.6069, allocations: 43.84 kB / 1.026 GB, free: 9.555 MB / 0.7794 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.0006182/0.6075, allocations: 0.7749 MB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.6078, allocations: 115.8 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6078, allocations: 4 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6079, allocations: 47.98 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.6083, allocations: 24.48 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.6106, allocations: 1.983 MB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.6109, allocations: 0.7319 MB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.611, allocations: 17.42 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.6111, allocations: 67.41 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6111, allocations: 0 / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.6396, allocations: 3.953 MB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/8.051, allocations: 12.2 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches