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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 189.7 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 495.8 MB / 0.783 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.002063/0.002063, allocations: 64.73 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 173.6 MB / 1.307 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00373/0.376, allocations: 2.056 MB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3772, allocations: 0.5844 MB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.91e-05/0.3773, allocations: 4 kB / 1.309 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3774, allocations: 23.73 kB / 1.309 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.3775, allocations: 35.59 kB / 1.309 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.3778, allocations: 87.84 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.3781, allocations: 224.1 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.3784, allocations: 91.92 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3785, allocations: 95.64 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3787, allocations: 103.5 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.3787, allocations: 24 kB / 1.31 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.3788, allocations: 35.92 kB / 1.31 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.891e-05/0.3789, allocations: 55.78 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.379, allocations: 103.5 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.3795, allocations: 282.8 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3795, allocations: 4 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3795, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3795, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 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.00088/0.3804, allocations: 455.8 kB / 1.311 GB, free: 13.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3804, allocations: 8.031 kB / 1.311 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.3805, allocations: 28.75 kB / 1.311 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.3809, allocations: 191.6 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3809, allocations: 12.38 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.3809, allocations: 20.38 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.3814, allocations: 229 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3814, allocations: 0 / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3814, allocations: 4 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3814, allocations: 8 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.3817, allocations: 139.9 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.3828, allocations: 0.5612 MB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3833, allocations: 118.7 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3834, allocations: 45.03 kB / 1.312 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.3834, allocations: 3.938 kB / 1.312 GB, free: 12.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3835, allocations: 38.56 kB / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3835, allocations: 0 / 1.312 GB, free: 12.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005228/0.384, allocations: 169.5 kB / 1.312 GB, free: 11.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.3841, allocations: 132.5 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3843, allocations: 215 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.3844, allocations: 33.7 kB / 1.313 GB, free: 11.53 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3845, allocations: 144.3 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3845, allocations: 39.72 kB / 1.313 GB, free: 11.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3846, allocations: 41.7 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3848, allocations: 330.8 kB / 1.313 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3849, allocations: 39.98 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3851, allocations: 84.27 kB / 1.313 GB, free: 10.83 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3853, allocations: 93.62 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3853, allocations: 4 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003407/0.3856, allocations: 161.4 kB / 1.314 GB, free: 10.57 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3857, allocations: 4 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3857, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.3857, allocations: 4 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.3858, allocations: 23.95 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3858, allocations: 0 / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.386, allocations: 27.88 kB / 1.314 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.386, allocations: 7.984 kB / 1.314 GB, free: 10.5 MB / 1.014 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.0001645/0.3862, allocations: 139.1 kB / 1.314 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.3862, allocations: 19.91 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.3866, allocations: 143.4 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3866, allocations: 11.86 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3866, allocations: 96 / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3866, allocations: 3.938 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.3869, allocations: 236.6 kB / 1.314 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3869, allocations: 4 kB / 1.314 GB, free: 9.898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.387, allocations: 15.98 kB / 1.314 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.387, allocations: 0 / 1.314 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.3871, allocations: 4 kB / 1.314 GB, free: 9.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3871, allocations: 11.94 kB / 1.314 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3871, allocations: 0 / 1.314 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.3874, allocations: 227.3 kB / 1.315 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.3875, allocations: 19.84 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3875, allocations: 8 kB / 1.315 GB, free: 9.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3877, allocations: 23.91 kB / 1.315 GB, free: 9.578 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.3878, allocations: 31.89 kB / 1.315 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3878, allocations: 4 kB / 1.315 GB, free: 9.543 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001563/0.3879, allocations: 152.4 kB / 1.315 GB, free: 9.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3879, allocations: 0 / 1.315 GB, free: 9.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002879/0.3882, allocations: 39.88 kB / 1.315 GB, free: 9.355 MB / 1.014 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.0001741/0.3884, allocations: 112 kB / 1.315 GB, free: 9.234 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.3887, allocations: 111.4 kB / 1.315 GB, free: 9.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3887, allocations: 0 / 1.315 GB, free: 9.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3889, allocations: 51.97 kB / 1.315 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.3893, allocations: 17.2 kB / 1.315 GB, free: 9.062 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.39, allocations: 348.8 kB / 1.315 GB, free: 8.695 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.3905, allocations: 0.728 MB / 1.316 GB, free: 7.938 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.356e-05/0.3906, allocations: 29.44 kB / 1.316 GB, free: 7.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.82e-05/0.3906, allocations: 19.44 kB / 1.316 GB, free: 7.891 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.3906, allocations: 0 / 1.316 GB, free: 7.891 MB / 1.014 GB Notification: Performance of Templates: time 0.00621/0.3968, allocations: 2.236 MB / 1.318 GB, free: 5.676 MB / 1.014 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: 9.164755090139806]