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.0007435/0.0007435, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001802, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007207/0.0007207, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009667/0.001687, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9277/0.9277, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08289/1.011, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.806/1.806, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.47/2.276, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.713e-06/1.713e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.174e-05, allocations: 6.312 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004203/0.004225, allocations: 2.111 MB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.005636, allocations: 0.6562 MB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.005779, allocations: 5.594 kB / 0.7324 GB, free: 1.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.005882, allocations: 19.73 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.006004, allocations: 45.86 kB / 0.7324 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.006337, allocations: 100.3 kB / 0.7325 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.006749, allocations: 233.1 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.006971, allocations: 87.42 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.00732, allocations: 168.6 kB / 0.733 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.007465, allocations: 71.78 kB / 0.7331 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.00751, allocations: 20 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007619, allocations: 32.69 kB / 0.7331 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.007691, allocations: 35.88 kB / 0.7332 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.605e-05/0.007767, allocations: 57.34 kB / 0.7332 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.008118, allocations: 151.4 kB / 0.7334 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.058e-05/0.008138, allocations: 0 / 0.7334 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.00814, allocations: 0 / 0.7334 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.008166, allocations: 0.5312 kB / 0.7334 GB, free: 0.6484 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.0007861/0.008952, allocations: 460.3 kB / 0.7338 GB, free: 180 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.008988, allocations: 8.031 kB / 0.7338 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.00936, allocations: 143.5 kB / 0.7339 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.009652, allocations: 178 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.009676, allocations: 16.38 kB / 0.7341 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.00971, allocations: 16.88 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.01005, allocations: 263.5 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.01005, allocations: 192 / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.01007, allocations: 8.375 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01008, allocations: 7.938 kB / 0.7344 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.01019, allocations: 47.12 kB / 0.7345 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.01085, allocations: 350.3 kB / 0.7348 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.01103, allocations: 55.84 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.01107, allocations: 28.86 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.01109, allocations: 0.6875 kB / 0.7349 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.01112, allocations: 38.69 kB / 0.7349 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.01112, allocations: 1.344 kB / 0.7349 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0001994/0.01132, allocations: 77.66 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.01136, allocations: 55.34 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.0115, allocations: 185 kB / 0.7352 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.01153, allocations: 33.7 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.01161, allocations: 144.2 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.01164, allocations: 28.72 kB / 0.7354 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.01171, allocations: 37.67 kB / 0.7354 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.01181, allocations: 334.7 kB / 0.7358 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-05/0.01185, allocations: 12.53 kB / 0.7358 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.01194, allocations: 125.9 kB / 0.7359 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.423e-05/0.01203, allocations: 54.67 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01203, allocations: 4 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001375/0.01217, allocations: 73.66 kB / 0.736 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01218, allocations: 5.156 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01219, allocations: 0 / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.0122, allocations: 4 kB / 0.736 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.0123, allocations: 21.86 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.01231, allocations: 0 / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.01238, allocations: 23.88 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.01239, allocations: 8.031 kB / 0.7361 GB, free: 13.63 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 0.0002375/0.01263, allocations: 129.3 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.01267, allocations: 12.73 kB / 0.7362 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.01271, allocations: 21.47 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01271, allocations: 0.75 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01271, allocations: 4 kB / 0.7362 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01272, allocations: 6.172 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.01291, allocations: 117.8 kB / 0.7364 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01291, allocations: 7.938 kB / 0.7364 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.01298, allocations: 8 kB / 0.7364 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.013, allocations: 23.83 kB / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01301, allocations: 0 / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.01302, allocations: 1.469 kB / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01302, allocations: 0 / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01302, allocations: 0 / 0.7364 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.01318, allocations: 179.7 kB / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.01321, allocations: 9.25 kB / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.0133, allocations: 4 kB / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.01337, allocations: 27.94 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01338, allocations: 5.25 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.01344, allocations: 50.44 kB / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01344, allocations: 0 / 0.7367 GB, free: 13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002534/0.01369, allocations: 36.45 kB / 0.7367 GB, free: 12.96 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 0.0001441/0.01384, allocations: 98.62 kB / 0.7368 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.01401, allocations: 56.7 kB / 0.7368 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.01402, allocations: 0 / 0.7368 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.01408, allocations: 32.84 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01441, allocations: 161.8 kB / 0.737 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.01649, allocations: 332.9 kB / 0.7373 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.892e-05/0.01655, allocations: 75.83 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.125e-05/0.01664, allocations: 21.69 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.01678, allocations: 83.34 kB / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.01678, allocations: 0 / 0.7375 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.005569/0.02235, allocations: 2.225 MB / 0.7397 GB, free: 9.949 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.651401176117361]