Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="Buildings_11_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.006868/0.006868, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001852/0.001853, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6829, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002998/0.686, allocations: 2.038 MB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.6869, allocations: 0.5698 MB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.687, allocations: 4 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.6871, allocations: 23.67 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-05/0.6872, allocations: 31.66 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.6875, allocations: 83.86 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.6877, allocations: 235.9 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.6879, allocations: 107.6 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.688, allocations: 87.64 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.6882, allocations: 103.5 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.6882, allocations: 27.94 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.055e-05/0.6883, allocations: 28 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.6884, allocations: 63.81 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.6885, allocations: 103.5 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.6888, allocations: 278.5 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6888, allocations: 0 / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6888, allocations: 0 / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6888, allocations: 0 / 1.224 GB, free: 14.24 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.0007407/0.6896, allocations: 0.5179 MB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6896, allocations: 8.031 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/0.6897, allocations: 58.67 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.6897, allocations: 28.75 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.69, allocations: 260.7 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.6901, allocations: 12.38 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.6901, allocations: 20.38 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.6905, allocations: 232.8 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6905, allocations: 3.984 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.6905, allocations: 4 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6905, allocations: 4 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.6909, allocations: 143.9 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.6917, allocations: 0.5896 MB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.692, allocations: 122.7 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6922, allocations: 56.83 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.6922, allocations: 0 / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.6922, allocations: 38.56 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.6923, allocations: 0 / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0004302/0.6927, allocations: 169.6 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.6928, allocations: 132.5 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.693, allocations: 215 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.693, allocations: 34.08 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6931, allocations: 148.3 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.6932, allocations: 31.73 kB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.6932, allocations: 33.7 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6934, allocations: 330.8 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.6935, allocations: 47.97 kB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.6936, allocations: 93.83 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.6938, allocations: 81.69 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6939, allocations: 4 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003047/0.6942, allocations: 158.2 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6942, allocations: 12 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.6942, allocations: 0 / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6942, allocations: 3.938 kB / 1.227 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6943, allocations: 23.98 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6943, allocations: 0 / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.6945, allocations: 23.92 kB / 1.227 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.6945, allocations: 7.938 kB / 1.227 GB, free: 10.35 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.0001217/0.6946, allocations: 140.4 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.6947, allocations: 15.91 kB / 1.228 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.695, allocations: 150.9 kB / 1.228 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.695, allocations: 7.938 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.695, allocations: 3.938 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.695, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.6953, allocations: 269.5 kB / 1.228 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6953, allocations: 0 / 1.228 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.307e-05/0.6954, allocations: 19.98 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6954, allocations: 0 / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.6954, allocations: 3.984 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6954, allocations: 3.938 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6955, allocations: 0 / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.6958, allocations: 231.3 kB / 1.228 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.6958, allocations: 93 kB / 1.228 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.6959, allocations: 12.19 kB / 1.228 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.696, allocations: 15.92 kB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.6961, allocations: 31.89 kB / 1.228 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.6961, allocations: 8 kB / 1.228 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001243/0.6963, allocations: 152.3 kB / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6963, allocations: 0 / 1.228 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002461/0.6965, allocations: 39.89 kB / 1.228 GB, free: 9.078 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.0006392/0.6972, allocations: 0.7827 MB / 1.229 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.6974, allocations: 106.6 kB / 1.229 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.6975, allocations: 4.062 kB / 1.229 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6976, allocations: 59.91 kB / 1.229 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.6979, allocations: 19.94 kB / 1.229 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.7001, allocations: 1.994 MB / 1.231 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7005, allocations: 0.728 MB / 1.232 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.678e-05/0.7006, allocations: 17.42 kB / 1.232 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.7007, allocations: 71.34 kB / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.7007, allocations: 0 / 1.232 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.25/1.95, allocations: 4.002 MB / 1.236 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/18.41, allocations: 13.28 kB / 1.236 GB, free: 1.324 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches