Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007758/0.0007758, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007896/0.0007896, allocations: 177.9 kB / 23.21 MB, free: 1.34 MB / 18.57 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.859/0.859, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.69/1.69, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.231e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002908/0.00293, allocations: 2.006 MB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.00392, allocations: 0.6155 MB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.004024, allocations: 4 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.004146, allocations: 27.61 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.004227, allocations: 35.59 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.004574, allocations: 111.7 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000245/0.004819, allocations: 232 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.005012, allocations: 83.97 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.005234, allocations: 135.7 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.005345, allocations: 79.7 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.005381, allocations: 24 kB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.005453, allocations: 31.98 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.957e-05/0.005513, allocations: 55.83 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.005586, allocations: 67.77 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.005912, allocations: 295 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005914, allocations: 4 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005914, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.005919, allocations: 0 / 1.005 GB, free: 9.199 MB / 0.9636 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.0006854/0.006604, allocations: 461.1 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.006641, allocations: 8.75 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.00689, allocations: 48.72 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.007216, allocations: 210.7 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.007236, allocations: 16.38 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.007262, allocations: 16.38 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.007657, allocations: 302.2 kB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.007667, allocations: 192 / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.007689, allocations: 8.375 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.007697, allocations: 7.938 kB / 1.006 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.007968, allocations: 147.7 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.008715, allocations: 475.7 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.00902, allocations: 114.8 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.009113, allocations: 44.84 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.009135, allocations: 8.125 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.009156, allocations: 34.56 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.009157, allocations: 0 / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0006355/0.009793, allocations: 165.7 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.009856, allocations: 136.5 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01002, allocations: 194.7 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.01005, allocations: 33.7 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.01014, allocations: 148.3 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.01017, allocations: 31.77 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.01024, allocations: 37.7 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.01033, allocations: 330.8 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.01043, allocations: 47.97 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.01059, allocations: 165.4 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.01076, allocations: 85.62 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01076, allocations: 4 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002554/0.01102, allocations: 156.7 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01103, allocations: 9.875 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01104, allocations: 4 kB / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01105, allocations: 0 / 1.008 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.01113, allocations: 15.98 kB / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01114, allocations: 0 / 1.008 GB, free: 5.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.01123, allocations: 23.97 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01124, allocations: 4 kB / 1.008 GB, free: 5.52 MB / 0.9636 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.0001114/0.01135, allocations: 149.7 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.01139, allocations: 15.91 kB / 1.008 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.01144, allocations: 21.45 kB / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01144, allocations: 0 / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01145, allocations: 0 / 1.008 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.01166, allocations: 197.1 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01166, allocations: 0 / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.01172, allocations: 11.98 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01172, allocations: 8 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01173, allocations: 0 / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01173, allocations: 0 / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01174, allocations: 0 / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.01199, allocations: 227.3 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.01201, allocations: 12.09 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.01204, allocations: 8 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.01216, allocations: 27.91 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.01223, allocations: 27.95 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.01224, allocations: 4 kB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.01233, allocations: 138.7 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01233, allocations: 0 / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000294/0.01263, allocations: 39.89 kB / 1.009 GB, free: 4.59 MB / 0.9636 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 9.717e-05/0.01273, allocations: 103.2 kB / 1.009 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.01299, allocations: 111.9 kB / 1.009 GB, free: 4.371 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01299, allocations: 4.062 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.01309, allocations: 43.98 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.0134, allocations: 31.84 kB / 1.009 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.01393, allocations: 352.1 kB / 1.009 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01403, allocations: 125.1 kB / 1.01 GB, free: 3.773 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/0.0141, allocations: 20.48 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of SimCode: time 4.8e-07/0.0141, allocations: 0 / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of Templates: time 0.003591/0.01769, allocations: 2.346 MB / 1.012 GB, free: 1.422 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.344796302728355]