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.00159/0.00159, allocations: 111.3 kB / 17.08 MB, free: 5.984 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.001378/0.001378, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.494/1.494, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.615/2.615, allocations: 437.1 MB / 0.7177 GB, free: 4.535 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.001921/0.001921, allocations: 71.88 kB / 1.028 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3494, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003626/0.3531, allocations: 2.049 MB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.3542, allocations: 0.565 MB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.959e-05/0.3543, allocations: 0 / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3545, allocations: 31.67 kB / 1.178 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.526e-05/0.3546, allocations: 31.61 kB / 1.178 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.355, allocations: 79.91 kB / 1.179 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.3553, allocations: 228 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.3555, allocations: 111.6 kB / 1.179 GB, free: 2.754 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3557, allocations: 95.62 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3559, allocations: 99.48 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.3559, allocations: 24 kB / 1.179 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.356, allocations: 35.98 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.3561, allocations: 55.83 kB / 1.179 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3562, allocations: 103.4 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.3566, allocations: 282.8 kB / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3566, allocations: 0 / 1.18 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3566, allocations: 8 kB / 1.18 GB, free: 2.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3566, allocations: 0 / 1.18 GB, free: 2.062 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.0008709/0.3575, allocations: 0.5139 MB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3576, allocations: 12.03 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.3576, allocations: 24.8 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.358, allocations: 260.8 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.3581, allocations: 16.16 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.3581, allocations: 24.36 kB / 1.18 GB, free: 1.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004261/0.3585, allocations: 221 kB / 1.181 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3586, allocations: 0 / 1.181 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.3586, allocations: 8 kB / 1.181 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3586, allocations: 4 kB / 1.181 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3589, allocations: 147.7 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009762/0.3599, allocations: 0.5858 MB / 1.181 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.3603, allocations: 130.7 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3604, allocations: 44.83 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.3605, allocations: 8 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3605, allocations: 30.56 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3605, allocations: 3.938 kB / 1.181 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0004827/0.361, allocations: 173.7 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.3611, allocations: 136.5 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3614, allocations: 211 kB / 1.182 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.3614, allocations: 29.7 kB / 1.182 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3615, allocations: 148.3 kB / 1.182 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3616, allocations: 35.67 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.3616, allocations: 41.7 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3618, allocations: 326.8 kB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.3619, allocations: 47.97 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.3621, allocations: 80.27 kB / 1.183 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.3623, allocations: 93.69 kB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3623, allocations: 0 / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.3626, allocations: 161.5 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3627, allocations: 8 kB / 1.183 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3627, allocations: 3.984 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3627, allocations: 0 / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3628, allocations: 23.86 kB / 1.183 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3628, allocations: 8.031 kB / 1.183 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.363, allocations: 23.88 kB / 1.183 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.363, allocations: 4 kB / 1.183 GB, free: 14.25 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.0001506/0.3632, allocations: 137.8 kB / 1.183 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3632, allocations: 15.91 kB / 1.183 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.3636, allocations: 147.3 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.3636, allocations: 7.938 kB / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3636, allocations: 96 / 1.183 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3636, allocations: 7.922 kB / 1.183 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.3639, allocations: 269.5 kB / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3639, allocations: 0 / 1.184 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.38e-05/0.364, allocations: 8 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.364, allocations: 7.984 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3641, allocations: 3.938 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3641, allocations: 3.938 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3641, allocations: 0 / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003496/0.3644, allocations: 239.3 kB / 1.184 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.3645, allocations: 96.89 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.3645, allocations: 4.047 kB / 1.184 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3647, allocations: 31.89 kB / 1.184 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.3648, allocations: 23.97 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3648, allocations: 7.984 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001348/0.365, allocations: 152.7 kB / 1.184 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.365, allocations: 0 / 1.184 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002711/0.3652, allocations: 39.89 kB / 1.184 GB, free: 12.97 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.0001899/0.3654, allocations: 111.2 kB / 1.184 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003331/0.3658, allocations: 118.7 kB / 1.184 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3658, allocations: 0 / 1.184 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3659, allocations: 51.92 kB / 1.184 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3663, allocations: 28.8 kB / 1.184 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.367, allocations: 350.3 kB / 1.185 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3674, allocations: 0.7358 MB / 1.185 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.175e-05/0.3675, allocations: 23.42 kB / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.3675, allocations: 0 / 1.186 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of Templates: time 0.004742/0.3722, allocations: 2.376 MB / 1.188 GB, free: 9.129 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_2/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.698609456070699]