Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.874/2.874, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|temPro.TEva|temPro.TEvaMin|temPro.errLowPre|temPro.TCon|temPro.TConMax|temPro.errHigPre|temPro.errNegTemDif",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.158e-05/3.302e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004152/0.004185, allocations: 2.01 MB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.005764, allocations: 0.6295 MB / 0.8134 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.005949, allocations: 0 / 0.8134 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.00613, allocations: 25.33 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.006267, allocations: 43.59 kB / 0.8135 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000465/0.006732, allocations: 97.3 kB / 0.8136 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.007135, allocations: 236 kB / 0.8138 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.007395, allocations: 83.97 kB / 0.8139 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.00778, allocations: 144.9 kB / 0.814 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.007956, allocations: 75.77 kB / 0.8141 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.008015, allocations: 24 kB / 0.8141 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.008113, allocations: 33.28 kB / 0.8141 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.008219, allocations: 63.75 kB / 0.8142 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.008327, allocations: 67.83 kB / 0.8142 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.008841, allocations: 291.7 kB / 0.8145 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.008846, allocations: 4 kB / 0.8145 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.473e-06/0.008848, allocations: 0.5 kB / 0.8145 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.008857, allocations: 0 / 0.8145 GB, free: 13.15 MB / 0.7292 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.001059/0.009916, allocations: 458.8 kB / 0.815 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.009965, allocations: 12.66 kB / 0.815 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.0104, allocations: 53.69 kB / 0.815 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.01089, allocations: 210.5 kB / 0.8152 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.01092, allocations: 16.97 kB / 0.8153 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.01096, allocations: 24.31 kB / 0.8153 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.01151, allocations: 299.6 kB / 0.8156 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.01152, allocations: 192 / 0.8156 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.01155, allocations: 8.375 kB / 0.8156 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01156, allocations: 9.688 kB / 0.8156 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.01192, allocations: 135.9 kB / 0.8157 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.01295, allocations: 486.9 kB / 0.8162 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.01337, allocations: 110.8 kB / 0.8163 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.01351, allocations: 48.97 kB / 0.8163 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.01354, allocations: 4.969 kB / 0.8163 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.01357, allocations: 34.55 kB / 0.8164 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.01357, allocations: 0 / 0.8164 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0005422/0.01411, allocations: 166.5 kB / 0.8165 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.01422, allocations: 133.1 kB / 0.8166 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.01448, allocations: 201.3 kB / 0.8168 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.01453, allocations: 33.7 kB / 0.8169 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.01469, allocations: 148.3 kB / 0.817 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.01473, allocations: 32.55 kB / 0.817 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.01482, allocations: 37.7 kB / 0.8171 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.01501, allocations: 332.9 kB / 0.8174 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.01515, allocations: 43.97 kB / 0.8174 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.01539, allocations: 165.4 kB / 0.8176 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01563, allocations: 86.16 kB / 0.8177 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01563, allocations: 0.8125 kB / 0.8177 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003756/0.01601, allocations: 156.8 kB / 0.8178 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.01603, allocations: 6.031 kB / 0.8178 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.01603, allocations: 1.219 kB / 0.8178 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.01605, allocations: 48 / 0.8178 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.01619, allocations: 27.97 kB / 0.8179 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.0162, allocations: 0.9688 kB / 0.8179 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.01635, allocations: 26.23 kB / 0.8179 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01636, allocations: 4 kB / 0.8179 GB, free: 9.477 MB / 0.7292 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.0001634/0.01653, allocations: 141.7 kB / 0.818 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.01658, allocations: 19.91 kB / 0.818 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.01664, allocations: 22.39 kB / 0.8181 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01664, allocations: 0 / 0.8181 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01665, allocations: 0 / 0.8181 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01666, allocations: 5.031 kB / 0.8181 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.01695, allocations: 197.1 kB / 0.8183 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01695, allocations: 4 kB / 0.8183 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.01706, allocations: 13.11 kB / 0.8183 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01706, allocations: 0 / 0.8183 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.01709, allocations: 5.125 kB / 0.8183 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.01709, allocations: 0 / 0.8183 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01709, allocations: 0 / 0.8183 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.01749, allocations: 236.2 kB / 0.8185 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.01752, allocations: 11.91 kB / 0.8185 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.01755, allocations: 4.594 kB / 0.8185 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.01771, allocations: 21.59 kB / 0.8185 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.01781, allocations: 23.95 kB / 0.8186 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01782, allocations: 7.938 kB / 0.8186 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001454/0.01796, allocations: 149.2 kB / 0.8187 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01796, allocations: 0 / 0.8187 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002985/0.01826, allocations: 39.89 kB / 0.8188 GB, free: 8.543 MB / 0.7292 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.0001522/0.01841, allocations: 100.8 kB / 0.8188 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.01875, allocations: 109.1 kB / 0.819 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01876, allocations: 1.062 kB / 0.819 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.0189, allocations: 55.86 kB / 0.819 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.01924, allocations: 35.28 kB / 0.819 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.01998, allocations: 329.1 kB / 0.8194 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.02013, allocations: 117.8 kB / 0.8195 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.02022, allocations: 15.61 kB / 0.8195 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.02031, allocations: 32.58 kB / 0.8195 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of SimCode: time 5.82e-07/0.02031, allocations: 0 / 0.8195 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of Templates: time 0.006357/0.02666, allocations: 2.131 MB / 0.8216 GB, free: 5.648 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.181967837968841]