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.007055/0.007055, allocations: 100.4 kB / 15.73 MB, free: 5.602 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.001908/0.001908, allocations: 192.2 kB / 16.68 MB, free: 5.523 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.314/2.314, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 63.89 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.6582, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002847/0.6611, allocations: 2.03 MB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.6619, allocations: 0.5728 MB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.662, allocations: 0 / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.6621, allocations: 23.67 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.6622, allocations: 39.59 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.6625, allocations: 79.91 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.6627, allocations: 228 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.6629, allocations: 107.6 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.663, allocations: 87.59 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.6631, allocations: 111.5 kB / 1.169 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.6632, allocations: 24 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-05/0.6633, allocations: 32 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.6633, allocations: 51.83 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.6634, allocations: 103.5 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.6637, allocations: 286.5 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6637, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6637, allocations: 4 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6638, allocations: 0 / 1.17 GB, free: 15.97 MB / 0.9044 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.0007088/0.6645, allocations: 0.5218 MB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.6645, allocations: 12.92 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.6646, allocations: 46.73 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.6646, allocations: 28.8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.6649, allocations: 253.2 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.6649, allocations: 20.36 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.665, allocations: 16.38 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.6653, allocations: 232.8 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6654, allocations: 3.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.6654, allocations: 8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.6654, allocations: 4 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.6657, allocations: 147.5 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008111/0.6665, allocations: 0.5936 MB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.6669, allocations: 126.7 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.667, allocations: 56.83 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.667, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.667, allocations: 30.56 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.6671, allocations: 0 / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0004179/0.6675, allocations: 173.6 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.6675, allocations: 132.5 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.6677, allocations: 211.2 kB / 1.172 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6678, allocations: 37.64 kB / 1.172 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.062e-05/0.6679, allocations: 140.3 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.6679, allocations: 35.72 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.668, allocations: 37.7 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6681, allocations: 322.8 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.6682, allocations: 51.97 kB / 1.173 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.6684, allocations: 85.27 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.6686, allocations: 87.06 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6686, allocations: 8 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002884/0.6689, allocations: 157.5 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6689, allocations: 4 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.6689, allocations: 0 / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6689, allocations: 7.938 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.996e-05/0.669, allocations: 19.92 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.669, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.6692, allocations: 27.95 kB / 1.173 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.6692, allocations: 8 kB / 1.173 GB, free: 12.09 MB / 0.9044 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.0001124/0.6693, allocations: 129.8 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.6693, allocations: 19.91 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.6697, allocations: 155.2 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6697, allocations: 3.938 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6697, allocations: 0 / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6697, allocations: 7.938 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.67, allocations: 265.5 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.67, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.6701, allocations: 19.92 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6701, allocations: 0 / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6701, allocations: 7.984 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.6701, allocations: 7.938 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6701, allocations: 0 / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.6704, allocations: 227.3 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-05/0.6705, allocations: 101 kB / 1.174 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.6705, allocations: 8 kB / 1.174 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.6707, allocations: 23.92 kB / 1.174 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.6708, allocations: 23.95 kB / 1.174 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6708, allocations: 4 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001176/0.6709, allocations: 148.7 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6709, allocations: 4 kB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002434/0.6712, allocations: 43.89 kB / 1.175 GB, free: 10.81 MB / 0.9044 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.0005947/0.6718, allocations: 0.7712 MB / 1.175 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.672, allocations: 113.6 kB / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.672, allocations: 0 / 1.175 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.6722, allocations: 59.91 kB / 1.175 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.6725, allocations: 25.05 kB / 1.175 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.6746, allocations: 1.996 MB / 1.177 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.675, allocations: 0.728 MB / 1.178 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.173e-05/0.675, allocations: 17.42 kB / 1.178 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.6751, allocations: 63.41 kB / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6751, allocations: 0 / 1.178 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.032/1.707, allocations: 4.004 MB / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/12.15, allocations: 11.95 kB / 1.182 GB, free: 3.066 MB / 0.9044 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=400 --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