Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001598/0.001598, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001781/0.001781, allocations: 210.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.709/2.709, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.59 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 169.9 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.004094/0.3431, allocations: 2.007 MB / 1.286 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3447, allocations: 0.6195 MB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3449, allocations: 7.938 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3451, allocations: 19.73 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.3452, allocations: 35.59 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.3456, allocations: 99.83 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.346, allocations: 236 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.3462, allocations: 83.97 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3465, allocations: 99.56 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3466, allocations: 87.55 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3467, allocations: 24 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.389e-05/0.3468, allocations: 32 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.3469, allocations: 67.69 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.84e-05/0.347, allocations: 83.59 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.3473, allocations: 278.8 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3473, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3473, allocations: 0 / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.3473, allocations: 4 kB / 1.287 GB, free: 8.188 MB / 0.9825 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.0008263/0.3482, allocations: 479 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3482, allocations: 11.97 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.3485, allocations: 40.78 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.3489, allocations: 202.1 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3489, allocations: 16.38 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.349, allocations: 24.36 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004677/0.3495, allocations: 302.1 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3495, allocations: 0 / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3495, allocations: 8 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3495, allocations: 4 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.3498, allocations: 135.9 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.3507, allocations: 487.5 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.351, allocations: 110.7 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3511, allocations: 44.84 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3512, allocations: 192 / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3512, allocations: 38.5 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.001e-06/0.3512, allocations: 8 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004504/0.3516, allocations: 161.5 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.3517, allocations: 132.5 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3519, allocations: 197.2 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.352, allocations: 33.7 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3521, allocations: 148.3 kB / 1.29 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3521, allocations: 35.72 kB / 1.29 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.3522, allocations: 37.7 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3523, allocations: 326.8 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.3525, allocations: 51.97 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3527, allocations: 166.4 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.3529, allocations: 84.25 kB / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3529, allocations: 0 / 1.291 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002985/0.3532, allocations: 145.6 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3532, allocations: 12.34 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3532, allocations: 0 / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3532, allocations: 4 kB / 1.291 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3533, allocations: 15.98 kB / 1.291 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3533, allocations: 11.88 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3535, allocations: 27.91 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3535, allocations: 4 kB / 1.291 GB, free: 4.5 MB / 0.9825 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.0001541/0.3536, allocations: 135.4 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.3537, allocations: 19.84 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.3537, allocations: 25.39 kB / 1.291 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3537, allocations: 4 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3537, allocations: 3.938 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3537, allocations: 0 / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.354, allocations: 181.2 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.354, allocations: 0 / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.3541, allocations: 15.98 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3541, allocations: 0 / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.3541, allocations: 4 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3541, allocations: 11.94 kB / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3541, allocations: 0 / 1.291 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3544, allocations: 227.3 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.3545, allocations: 11.91 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.3545, allocations: 8 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.3546, allocations: 19.97 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.3547, allocations: 31.98 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3547, allocations: 3.938 kB / 1.291 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001183/0.3548, allocations: 147 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3548, allocations: 0 / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002663/0.3551, allocations: 43.83 kB / 1.292 GB, free: 3.562 MB / 0.9825 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.0001325/0.3552, allocations: 107.2 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000307/0.3555, allocations: 107.9 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3556, allocations: 96 / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3557, allocations: 51.98 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.356, allocations: 22.17 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.3566, allocations: 369.9 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.3568, allocations: 129 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.3568, allocations: 23.42 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3568, allocations: 0 / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.004501/0.3613, allocations: 2.325 MB / 1.295 GB, free: 400 kB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.173580870963633]