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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001581/0.001581, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001485/0.001485, allocations: 195.5 kB / 16.14 MB, free: 6.691 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5823, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00295/0.5853, allocations: 2.1 MB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.5861, allocations: 0.5648 MB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.5862, allocations: 4 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.5863, allocations: 19.78 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.5864, allocations: 23.8 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.5867, allocations: 67.94 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.5869, allocations: 212 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.5871, allocations: 103.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.5872, allocations: 79.58 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.5873, allocations: 95.53 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.5873, allocations: 16 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.5874, allocations: 19.98 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.5875, allocations: 35.84 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.5876, allocations: 95.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.5878, allocations: 265.3 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5878, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5878, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.5879, allocations: 0 / 1.02 GB, free: 15.11 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.000708/0.5886, allocations: 0.5142 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5886, allocations: 8.031 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.5887, allocations: 54.73 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.5887, allocations: 24.66 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.589, allocations: 256.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.589, allocations: 12.38 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.5891, allocations: 16.38 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.5895, allocations: 224.9 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.5895, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.5895, allocations: 8 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.984e-06/0.5895, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.5898, allocations: 139.7 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008817/0.5907, allocations: 0.5972 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.5911, allocations: 114.7 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.5912, allocations: 56.77 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.5913, allocations: 11.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5913, allocations: 34.75 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.5913, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004586/0.5918, allocations: 173.2 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.5918, allocations: 140.5 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.592, allocations: 207.1 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.592, allocations: 33.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.5921, allocations: 140.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.5922, allocations: 35.55 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/0.5922, allocations: 33.7 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.5924, allocations: 326.8 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.5925, allocations: 47.97 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.5926, allocations: 89.52 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.5929, allocations: 98.5 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5929, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003047/0.5932, allocations: 148.6 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5932, allocations: 6.188 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5932, allocations: 4.031 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5932, allocations: 11.92 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5934, allocations: 15.94 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.5934, allocations: 3.984 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.5935, allocations: 31.83 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5935, allocations: 4 kB / 1.024 GB, free: 11.24 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.0001184/0.5937, allocations: 137.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.5937, allocations: 15.81 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.5941, allocations: 143 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5941, allocations: 3.938 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5941, allocations: 0 / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5941, allocations: 3.984 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.5944, allocations: 269.4 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5944, allocations: 3.984 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5945, allocations: 23.94 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5945, allocations: 480 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.5945, allocations: 7.984 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5945, allocations: 7.875 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5945, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5948, allocations: 231.2 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.5949, allocations: 92.86 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.5949, allocations: 12.05 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.5951, allocations: 27.89 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.5952, allocations: 19.97 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5952, allocations: 7.984 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001203/0.5953, allocations: 152.4 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5953, allocations: 0 / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.5956, allocations: 39.84 kB / 1.025 GB, free: 9.969 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.0005862/0.5962, allocations: 0.7747 MB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.5965, allocations: 107.9 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5965, allocations: 4 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.5966, allocations: 55.98 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.597, allocations: 25.23 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5993, allocations: 2.041 MB / 1.028 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5995, allocations: 0.7244 MB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.39e-05/0.5996, allocations: 25.42 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.5998, allocations: 67.34 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.5998, allocations: 0 / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1805/0.7803, allocations: 3.57 MB / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.7805, allocations: 253.7 kB / 1.032 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.682, allocations: 0 / 1.032 GB, free: 2.352 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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