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.0007518/0.0007518, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.002463, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00112/0.00112, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002565, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9546/0.9546, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08562/1.04, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.784/1.784, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4508/2.235, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.262e-06/1.262e-06, allocations: 0 / 0.7293 GB, free: 4.539 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.395e-05, allocations: 8.844 kB / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002218/0.002232, allocations: 2.114 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.002981, allocations: 0.6587 MB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.003065, allocations: 5.094 kB / 0.7321 GB, free: 1.777 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.386e-05/0.003129, allocations: 19.73 kB / 0.7321 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.003197, allocations: 47.78 kB / 0.7321 GB, free: 1.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.003388, allocations: 99.77 kB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.003577, allocations: 228 kB / 0.7324 GB, free: 1.402 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.003729, allocations: 84.06 kB / 0.7325 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.003921, allocations: 171.5 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.024e-05/0.004011, allocations: 67.72 kB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.004037, allocations: 24.69 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.008e-05/0.004117, allocations: 32 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.004161, allocations: 37.59 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.00421, allocations: 51.88 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.00439, allocations: 155.3 kB / 0.733 GB, free: 0.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.004401, allocations: 7.938 kB / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004401, allocations: 0 / 0.733 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.004413, allocations: 1.062 kB / 0.733 GB, free: 0.7852 MB / 0.698 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.0004738/0.004887, allocations: 456 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.004915, allocations: 12.03 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.005139, allocations: 131.9 kB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.005336, allocations: 184.7 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.00535, allocations: 12.38 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.005369, allocations: 21.19 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.005583, allocations: 254 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.005592, allocations: 0.8438 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.005603, allocations: 10.38 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.005609, allocations: 5.062 kB / 0.7341 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.005678, allocations: 54.52 kB / 0.7341 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.006097, allocations: 346.5 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.006216, allocations: 59.47 kB / 0.7345 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.006245, allocations: 25.84 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006258, allocations: 7.984 kB / 0.7345 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.006279, allocations: 38.56 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.00628, allocations: 1.438 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001347/0.006415, allocations: 77.83 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.006441, allocations: 51.41 kB / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006545, allocations: 187.2 kB / 0.7349 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.006568, allocations: 33.7 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.006627, allocations: 138.1 kB / 0.735 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.006649, allocations: 31.77 kB / 0.7351 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.006689, allocations: 37.69 kB / 0.7351 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.006774, allocations: 330.8 kB / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.006804, allocations: 15.98 kB / 0.7354 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.952e-05/0.006894, allocations: 134.4 kB / 0.7356 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.006958, allocations: 42.12 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.006961, allocations: 0.7188 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001213/0.007082, allocations: 85.84 kB / 0.7357 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.007096, allocations: 8 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007102, allocations: 0.75 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007113, allocations: 3.938 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.838e-05/0.007202, allocations: 20.67 kB / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007205, allocations: 0 / 0.7357 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.558e-05/0.007261, allocations: 16.94 kB / 0.7357 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.00727, allocations: 8 kB / 0.7358 GB, free: 13.77 MB / 0.7136 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 9.331e-05/0.007363, allocations: 122 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.007395, allocations: 15.98 kB / 0.7359 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.007434, allocations: 21.98 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007438, allocations: 3.938 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.00744, allocations: 1.094 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.007443, allocations: 0 / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.007617, allocations: 121.8 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.007619, allocations: 1.031 kB / 0.736 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.007664, allocations: 19.98 kB / 0.736 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.007681, allocations: 20.28 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007683, allocations: 0 / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.007691, allocations: 5.781 kB / 0.7361 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007693, allocations: 0 / 0.7361 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007695, allocations: 3.938 kB / 0.7361 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.007806, allocations: 167.5 kB / 0.7362 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.007825, allocations: 8 kB / 0.7362 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.007899, allocations: 13.2 kB / 0.7363 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.007954, allocations: 23.95 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.007959, allocations: 8.688 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.645e-05/0.007996, allocations: 52.23 kB / 0.7363 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007996, allocations: 0.625 kB / 0.7363 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000133/0.008129, allocations: 35.89 kB / 0.7364 GB, free: 13.1 MB / 0.7136 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 7.383e-05/0.008203, allocations: 94.62 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.722e-05/0.0083, allocations: 56.77 kB / 0.7365 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.008306, allocations: 0 / 0.7365 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.00834, allocations: 29.5 kB / 0.7365 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.0085, allocations: 29.02 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.009751, allocations: 334.1 kB / 0.7369 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.009793, allocations: 81.36 kB / 0.737 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.229e-05/0.009845, allocations: 20.27 kB / 0.737 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.009934, allocations: 87.34 kB / 0.7371 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.009935, allocations: 0 / 0.7371 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.003814/0.01375, allocations: 2.213 MB / 0.7392 GB, free: 10.25 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.631123329512775]