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.002035/0.002035, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.002488/0.002488, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.768/1.768, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 3.278/3.278, allocations: 377.8 MB / 0.6232 GB, free: 8.496 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.503e-06/1.503e-06, allocations: 0 / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.452e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004336/0.004371, allocations: 2.051 MB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.005739, allocations: 0.6295 MB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.005851, allocations: 4 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.006002, allocations: 24.52 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00612, allocations: 40.59 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.006519, allocations: 100.3 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.006823, allocations: 236.6 kB / 0.8138 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.007043, allocations: 77.28 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.007336, allocations: 139.7 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.007486, allocations: 83.7 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.007535, allocations: 26.41 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.00763, allocations: 31.94 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.00772, allocations: 55.81 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.007825, allocations: 75.77 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004348/0.008259, allocations: 287 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.008264, allocations: 0 / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008265, allocations: 0 / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.008271, allocations: 0.5625 kB / 0.8146 GB, free: 14.21 MB / 0.7761 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.001002/0.009272, allocations: 0.5592 MB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.009318, allocations: 8.031 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.009702, allocations: 58.06 kB / 0.8152 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000692/0.01039, allocations: 209.2 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.01042, allocations: 16.38 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.01046, allocations: 16.91 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.01099, allocations: 314.4 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.011, allocations: 192 / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.01102, allocations: 5.188 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01103, allocations: 11.94 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.01134, allocations: 116.5 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01245, allocations: 0.5884 MB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003757/0.01283, allocations: 119.3 kB / 0.8165 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01296, allocations: 52.41 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.01298, allocations: 4.75 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.01302, allocations: 37.39 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01302, allocations: 0.6875 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0004719/0.01349, allocations: 162.7 kB / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.0136, allocations: 132.5 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.01391, allocations: 283.8 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.01395, allocations: 34.55 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.01413, allocations: 207.1 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.01416, allocations: 29.34 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.01426, allocations: 55.36 kB / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003235/0.01459, allocations: 0.5117 MB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.01471, allocations: 39.98 kB / 0.818 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.01495, allocations: 180.5 kB / 0.8182 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.01518, allocations: 94.67 kB / 0.8183 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01518, allocations: 0 / 0.8183 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003499/0.01553, allocations: 150.1 kB / 0.8184 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.01556, allocations: 4 kB / 0.8184 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01556, allocations: 0 / 0.8184 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.01559, allocations: 0 / 0.8184 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.0157, allocations: 19.98 kB / 0.8185 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.01572, allocations: 4 kB / 0.8185 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01584, allocations: 18.36 kB / 0.8185 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.01586, allocations: 4 kB / 0.8185 GB, free: 9.93 MB / 0.7761 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.0002238/0.01608, allocations: 192.4 kB / 0.8187 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.01613, allocations: 19.91 kB / 0.8187 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.01619, allocations: 18.81 kB / 0.8187 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.0162, allocations: 4 kB / 0.8187 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01621, allocations: 0 / 0.8187 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01621, allocations: 0 / 0.8187 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.01655, allocations: 233.7 kB / 0.8189 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01655, allocations: 0 / 0.8189 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.684e-05/0.01665, allocations: 15.98 kB / 0.8189 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01665, allocations: 0.9062 kB / 0.8189 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.01667, allocations: 8 kB / 0.8189 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.01667, allocations: 4.828 kB / 0.819 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01667, allocations: 0 / 0.819 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.01707, allocations: 273 kB / 0.8192 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.01711, allocations: 19.89 kB / 0.8192 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.01714, allocations: 4 kB / 0.8192 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01727, allocations: 12.64 kB / 0.8192 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.01737, allocations: 30.23 kB / 0.8193 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.01738, allocations: 4 kB / 0.8193 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001708/0.01755, allocations: 190.9 kB / 0.8195 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01755, allocations: 0 / 0.8195 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002732/0.01783, allocations: 43.83 kB / 0.8195 GB, free: 8.82 MB / 0.7761 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.0001869/0.01801, allocations: 112.9 kB / 0.8196 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.01835, allocations: 117.2 kB / 0.8197 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01835, allocations: 0 / 0.8197 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.0185, allocations: 63.59 kB / 0.8198 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.01882, allocations: 22.19 kB / 0.8198 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.01964, allocations: 345.6 kB / 0.8201 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.01982, allocations: 124.4 kB / 0.8203 GB, free: 8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.689e-05/0.01992, allocations: 19.27 kB / 0.8203 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.01999, allocations: 17.44 kB / 0.8203 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.01999, allocations: 4 kB / 0.8203 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.006735/0.02673, allocations: 2.13 MB / 0.8224 GB, free: 5.891 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 240] 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: 9.01327205193229]