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.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.001812/0.001812, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001988/0.001988, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.579/1.579, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.896/2.896, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 1.543e-06/1.543e-06, allocations: 0 / 0.9814 GB, free: 10.9 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.239e-05, allocations: 9.312 kB / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003823/0.003855, allocations: 1.998 MB / 0.9834 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005271, allocations: 0.6233 MB / 0.984 GB, free: 8.25 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.0054, allocations: 7.938 kB / 0.984 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.005542, allocations: 19.73 kB / 0.984 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.005643, allocations: 39.61 kB / 0.9841 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.006025, allocations: 103.7 kB / 0.9842 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.006347, allocations: 244 kB / 0.9844 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.006575, allocations: 80.02 kB / 0.9845 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.006872, allocations: 135.7 kB / 0.9846 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.007009, allocations: 83.69 kB / 0.9847 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.007057, allocations: 27.94 kB / 0.9847 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.007148, allocations: 36 kB / 0.9847 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.007222, allocations: 47.83 kB / 0.9848 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.007313, allocations: 75.77 kB / 0.9849 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.007702, allocations: 295 kB / 0.9851 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.007706, allocations: 0 / 0.9851 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007707, allocations: 0 / 0.9851 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.007714, allocations: 0 / 0.9851 GB, free: 7.074 MB / 0.8887 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.0009339/0.008648, allocations: 469.1 kB / 0.9856 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.008701, allocations: 8.031 kB / 0.9856 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.009064, allocations: 44.73 kB / 0.9856 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.009484, allocations: 209.2 kB / 0.9858 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.00951, allocations: 16.38 kB / 0.9859 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.00955, allocations: 20.38 kB / 0.9859 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.01005, allocations: 298.2 kB / 0.9862 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01006, allocations: 192 / 0.9862 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.01009, allocations: 8.375 kB / 0.9862 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.0101, allocations: 7.938 kB / 0.9862 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.01044, allocations: 143.9 kB / 0.9863 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009243/0.01136, allocations: 475.6 kB / 0.9868 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.01177, allocations: 118.7 kB / 0.9869 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.01189, allocations: 44.84 kB / 0.9869 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.01191, allocations: 0 / 0.9869 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.01194, allocations: 34.56 kB / 0.987 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.01194, allocations: 0 / 0.987 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0005161/0.01246, allocations: 165.7 kB / 0.9871 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.01255, allocations: 132.5 kB / 0.9872 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.01278, allocations: 201.8 kB / 0.9874 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.01282, allocations: 33.7 kB / 0.9875 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01294, allocations: 144.7 kB / 0.9876 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.01298, allocations: 35.72 kB / 0.9876 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.01305, allocations: 37.7 kB / 0.9877 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01321, allocations: 330.8 kB / 0.988 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01334, allocations: 47.91 kB / 0.988 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.01354, allocations: 161.4 kB / 0.9882 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.01376, allocations: 93.25 kB / 0.9883 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01377, allocations: 0 / 0.9883 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003409/0.01411, allocations: 153.5 kB / 0.9884 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01412, allocations: 6.031 kB / 0.9884 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01413, allocations: 0 / 0.9884 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.01415, allocations: 4 kB / 0.9884 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01426, allocations: 15.98 kB / 0.9884 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.01427, allocations: 0 / 0.9884 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.01442, allocations: 35.89 kB / 0.9885 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01443, allocations: 4 kB / 0.9885 GB, free: 3.398 MB / 0.8887 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.0001591/0.01459, allocations: 137.7 kB / 0.9886 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.01464, allocations: 15.91 kB / 0.9886 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.0147, allocations: 25.45 kB / 0.9887 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.0147, allocations: 4 kB / 0.9887 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.0147, allocations: 0 / 0.9887 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01471, allocations: 0 / 0.9887 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.01497, allocations: 189.1 kB / 0.9888 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01497, allocations: 0 / 0.9888 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01508, allocations: 15.98 kB / 0.9889 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01508, allocations: 0 / 0.9889 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01509, allocations: 0 / 0.9889 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.0151, allocations: 4 kB / 0.9889 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.0151, allocations: 4 kB / 0.9889 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.01546, allocations: 231.3 kB / 0.9891 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01549, allocations: 11.91 kB / 0.9891 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.01553, allocations: 12 kB / 0.9891 GB, free: 2.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.01569, allocations: 19.97 kB / 0.9891 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.01581, allocations: 23.95 kB / 0.9892 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.01582, allocations: 0 / 0.9892 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001369/0.01596, allocations: 147.2 kB / 0.9893 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01596, allocations: 0 / 0.9893 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002956/0.01625, allocations: 43.84 kB / 0.9893 GB, free: 2.477 MB / 0.8887 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.000174/0.01643, allocations: 111.3 kB / 0.9894 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01675, allocations: 107.9 kB / 0.9895 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01675, allocations: 0 / 0.9895 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.01689, allocations: 51.92 kB / 0.9896 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.0172, allocations: 19.92 kB / 0.9896 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006923/0.01789, allocations: 330.4 kB / 0.9899 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.01804, allocations: 125.1 kB / 0.99 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.507e-05/0.01813, allocations: 21.52 kB / 0.9901 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.141e-05/0.01821, allocations: 20.48 kB / 0.9901 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/0.01821, allocations: 0 / 0.9901 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of Templates: time 0.006425/0.02464, allocations: 2.107 MB / 0.9921 GB, free: 15.59 MB / 0.9044 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: 8.567906562238932]