Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005825/0.005825, allocations: 104.8 kB / 15.74 MB, free: 6.496 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.001436/0.001436, allocations: 197.2 kB / 16.68 MB, free: 6.371 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 67.14 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2547, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00296/0.2577, allocations: 2.027 MB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.2587, allocations: 0.5649 MB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.2588, allocations: 4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2589, allocations: 31.66 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.259, allocations: 31.61 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.2592, allocations: 87.89 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.2595, allocations: 228 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2597, allocations: 115.6 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2598, allocations: 91.58 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.26, allocations: 99.52 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.26, allocations: 24 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.2601, allocations: 32 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.2601, allocations: 51.84 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.917e-05/0.2602, allocations: 119.3 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.2605, allocations: 275 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2605, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.001e-06/0.2606, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2606, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 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.0007571/0.2613, allocations: 0.5181 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2614, allocations: 12.03 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.2614, allocations: 28.66 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2618, allocations: 248.6 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.2618, allocations: 16.31 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2619, allocations: 20.38 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.2622, allocations: 232.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2623, allocations: 8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.2623, allocations: 8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2623, allocations: 4 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.2626, allocations: 139.9 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008732/0.2635, allocations: 0.5896 MB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003617/0.2639, allocations: 118.7 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.264, allocations: 44.84 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2641, allocations: 8 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.2641, allocations: 34.56 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2641, allocations: 0 / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004615/0.2646, allocations: 173.5 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.2646, allocations: 136.5 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.2648, allocations: 204.4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2649, allocations: 33.7 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.265, allocations: 152.1 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.265, allocations: 31.58 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.2651, allocations: 33.7 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2652, allocations: 330.8 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2654, allocations: 43.98 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2656, allocations: 88.27 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2658, allocations: 91.94 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2658, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003193/0.2661, allocations: 157.4 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2661, allocations: 4 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2661, allocations: 32 / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2662, allocations: 8 kB / 1.095 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.2663, allocations: 24.23 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2663, allocations: 0 / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2664, allocations: 31.81 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.2665, allocations: 4 kB / 1.095 GB, free: 9.883 MB / 0.8575 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.000124/0.2666, allocations: 137.8 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.2667, allocations: 23.75 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.267, allocations: 147 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.267, allocations: 3.938 kB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.267, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.267, allocations: 0 / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2673, allocations: 273.4 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2673, allocations: 0 / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.2674, allocations: 15.98 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2674, allocations: 0 / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2674, allocations: 7.938 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2675, allocations: 11.94 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2675, allocations: 3.984 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.2678, allocations: 223.3 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.2679, allocations: 92.86 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.2679, allocations: 11.98 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2681, allocations: 27.92 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.2682, allocations: 23.95 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2682, allocations: 4 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001158/0.2683, allocations: 147.4 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2683, allocations: 0 / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002811/0.2686, allocations: 43.84 kB / 1.096 GB, free: 8.613 MB / 0.8575 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.0001463/0.2687, allocations: 115.2 kB / 1.096 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.2691, allocations: 110.6 kB / 1.096 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2691, allocations: 0 / 1.096 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2692, allocations: 55.92 kB / 1.096 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.2696, allocations: 19.98 kB / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.2702, allocations: 325.4 kB / 1.097 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.2705, allocations: 0.728 MB / 1.097 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.2706, allocations: 21.45 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.243e-05/0.2707, allocations: 27.42 kB / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2707, allocations: 0 / 1.098 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of Templates: time 0.005114/0.2758, allocations: 2.18 MB / 1.1 GB, free: 5.004 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches