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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001737/0.001737, allocations: 108 kB / 15.61 MB, free: 152 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.001991/0.001991, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 77 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2619, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003871/0.2658, allocations: 2.038 MB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2671, allocations: 0.565 MB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.2673, allocations: 7.938 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.2674, allocations: 23.67 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.2675, allocations: 43.59 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.2679, allocations: 83.91 kB / 1.066 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002544/0.2681, allocations: 220 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.2684, allocations: 115.6 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2685, allocations: 95.58 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2687, allocations: 99.53 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.926e-05/0.2687, allocations: 24 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.2688, allocations: 35.98 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.2689, allocations: 51.84 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.269, allocations: 103.4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.2694, allocations: 271.4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2694, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2694, allocations: 3.938 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2694, allocations: 0 / 1.067 GB, free: 10.71 MB / 0.8262 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.000916/0.2703, allocations: 0.5181 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2704, allocations: 8.031 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.2705, allocations: 54.73 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.2705, allocations: 24.66 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.2709, allocations: 256.6 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2709, allocations: 12.38 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.271, allocations: 20.38 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.2714, allocations: 228.6 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2714, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.2714, allocations: 8 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2715, allocations: 7.938 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2718, allocations: 139.9 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.2727, allocations: 0.5974 MB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2731, allocations: 114.7 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.2732, allocations: 56.89 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.2733, allocations: 7.984 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2733, allocations: 34.56 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.2733, allocations: 0 / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005284/0.2738, allocations: 173.4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.233e-05/0.274, allocations: 132.5 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.2742, allocations: 216.4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2742, allocations: 29.7 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2743, allocations: 144.1 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.2744, allocations: 27.64 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.2745, allocations: 41.64 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2746, allocations: 326.8 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.2747, allocations: 47.97 kB / 1.07 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.2749, allocations: 88.27 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.2751, allocations: 87.69 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2751, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003214/0.2755, allocations: 161.3 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2755, allocations: 5.562 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2755, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2755, allocations: 7.922 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2756, allocations: 19.92 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2757, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2758, allocations: 23.98 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2758, allocations: 4 kB / 1.071 GB, free: 6.852 MB / 0.8262 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.0001337/0.276, allocations: 144.1 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.276, allocations: 15.81 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.2764, allocations: 146.9 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2764, allocations: 3.938 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2764, allocations: 0 / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2764, allocations: 7.984 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.2767, allocations: 269.5 kB / 1.071 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2767, allocations: 7.938 kB / 1.071 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.2768, allocations: 16 kB / 1.071 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2768, allocations: 3.984 kB / 1.071 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.2769, allocations: 4 kB / 1.071 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2769, allocations: 8.344 kB / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2769, allocations: 0 / 1.071 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.2772, allocations: 231.2 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2773, allocations: 88.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.2774, allocations: 11.94 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2776, allocations: 23.91 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.2776, allocations: 19.97 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2777, allocations: 7.984 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001219/0.2778, allocations: 155.4 kB / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2778, allocations: 0 / 1.072 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002833/0.2781, allocations: 39.84 kB / 1.072 GB, free: 5.574 MB / 0.8262 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.0006625/0.2787, allocations: 0.7669 MB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.2791, allocations: 116 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2791, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.2792, allocations: 55.91 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2796, allocations: 17.44 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.282, allocations: 1.992 MB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2824, allocations: 0.7359 MB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.283e-05/0.2825, allocations: 21.36 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2826, allocations: 63.41 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2826, allocations: 4 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3058, allocations: 3.947 MB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/7.911, allocations: 14.19 kB / 1.08 GB, free: 13.89 MB / 0.8419 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