Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001677/0.001677, allocations: 104.2 kB / 17.08 MB, free: 5.969 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.001919/0.001919, allocations: 196.2 kB / 20.03 MB, free: 3.035 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.461/1.461, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.1 MB / 0.7177 GB, free: 4.504 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003465/0.3356, allocations: 2.047 MB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.3367, allocations: 0.5649 MB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.3369, allocations: 8 kB / 1.178 GB, free: 3.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.337, allocations: 19.73 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.3371, allocations: 39.59 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.3374, allocations: 75.86 kB / 1.179 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3377, allocations: 224 kB / 1.179 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3379, allocations: 111.6 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3381, allocations: 95.62 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3383, allocations: 103.4 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.3383, allocations: 24 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.3384, allocations: 39.92 kB / 1.179 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.3385, allocations: 55.83 kB / 1.179 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.3386, allocations: 99.47 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.339, allocations: 282.8 kB / 1.18 GB, free: 2.094 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.339, allocations: 7.984 kB / 1.18 GB, free: 2.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.339, allocations: 0 / 1.18 GB, free: 2.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.339, allocations: 0 / 1.18 GB, free: 2.086 MB / 0.92 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.0008246/0.3398, allocations: 0.5179 MB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3399, allocations: 8.031 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.34, allocations: 24.8 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3403, allocations: 256.8 kB / 1.18 GB, free: 1.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3403, allocations: 16.16 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.3404, allocations: 20.38 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.3408, allocations: 229 kB / 1.181 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3408, allocations: 0 / 1.181 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3409, allocations: 7.984 kB / 1.181 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3409, allocations: 8 kB / 1.181 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3412, allocations: 143.7 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.3422, allocations: 0.5935 MB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3426, allocations: 122.8 kB / 1.181 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.3427, allocations: 49.02 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.3427, allocations: 3.938 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3428, allocations: 38.56 kB / 1.181 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.3428, allocations: 4 kB / 1.182 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004729/0.3433, allocations: 165.5 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.3434, allocations: 136.4 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.3436, allocations: 211 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.3436, allocations: 34.08 kB / 1.182 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.3437, allocations: 148.3 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3438, allocations: 31.73 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.3438, allocations: 37.7 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.344, allocations: 330.8 kB / 1.183 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.3441, allocations: 47.97 kB / 1.183 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3443, allocations: 84.02 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.3445, allocations: 93.62 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3445, allocations: 0 / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003153/0.3448, allocations: 157.5 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3449, allocations: 8 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3449, allocations: 0 / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3449, allocations: 0 / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.345, allocations: 27.95 kB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.345, allocations: 4 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3452, allocations: 27.86 kB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3452, allocations: 4 kB / 1.183 GB, free: 14.27 MB / 0.9356 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.0001412/0.3453, allocations: 139.5 kB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.3454, allocations: 23.89 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.3458, allocations: 143 kB / 1.183 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.3458, allocations: 7.938 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3458, allocations: 3.938 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3458, allocations: 0 / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3461, allocations: 269.5 kB / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3461, allocations: 0 / 1.184 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.3462, allocations: 15.98 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3462, allocations: 3.938 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3463, allocations: 3.984 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3463, allocations: 3.938 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3463, allocations: 4 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.3466, allocations: 235.3 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3467, allocations: 92.95 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.3467, allocations: 4.188 kB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.3469, allocations: 23.91 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.347, allocations: 35.91 kB / 1.184 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.347, allocations: 4 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001357/0.3471, allocations: 152.7 kB / 1.184 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3471, allocations: 0 / 1.184 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000273/0.3474, allocations: 39.89 kB / 1.184 GB, free: 13 MB / 0.9356 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.0001686/0.3476, allocations: 107.2 kB / 1.184 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.3479, allocations: 115.8 kB / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.348, allocations: 0 / 1.184 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.3481, allocations: 55.97 kB / 1.184 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3485, allocations: 18.23 kB / 1.184 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.3491, allocations: 354.3 kB / 1.185 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.3495, allocations: 0.7359 MB / 1.185 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.3496, allocations: 19.44 kB / 1.185 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.3496, allocations: 0 / 1.185 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Templates: time 0.00474/0.3543, allocations: 2.387 MB / 1.188 GB, free: 9.156 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.600817555910908]