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.0008018/0.0008018, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0008312/0.0008312, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.684/1.684, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.26e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002431/0.002454, allocations: 2.014 MB / 0.9842 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.003414, allocations: 0.6271 MB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.003537, allocations: 4 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.00365, allocations: 19.73 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.003717, allocations: 47.53 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.00406, allocations: 99.81 kB / 0.9849 GB, free: 15.23 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.004276, allocations: 231.9 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.004474, allocations: 84.02 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.004695, allocations: 135.7 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.004789, allocations: 75.77 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.004818, allocations: 24 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004888, allocations: 39.98 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.004942, allocations: 55.77 kB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.004996, allocations: 63.83 kB / 0.9856 GB, free: 14.53 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.005287, allocations: 299 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005289, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.543e-06/0.00529, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.005295, allocations: 0 / 0.9859 GB, free: 14.24 MB / 0.948 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.0005832/0.005878, allocations: 473 kB / 0.9864 GB, free: 13.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005912, allocations: 8.031 kB / 0.9864 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.006105, allocations: 48.78 kB / 0.9864 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.006385, allocations: 197.8 kB / 0.9866 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.006403, allocations: 16.38 kB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.006425, allocations: 20.36 kB / 0.9866 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.006729, allocations: 298.2 kB / 0.9869 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006738, allocations: 192 / 0.9869 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.006756, allocations: 16.38 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.006764, allocations: 7.938 kB / 0.9869 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.006948, allocations: 139.9 kB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.007545, allocations: 471.6 kB / 0.9875 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.007776, allocations: 118.7 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.007844, allocations: 44.84 kB / 0.9877 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.007862, allocations: 0 / 0.9877 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.007882, allocations: 38.5 kB / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.007883, allocations: 0 / 0.9877 GB, free: 12.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003015/0.008185, allocations: 169.6 kB / 0.9879 GB, free: 12.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.008237, allocations: 132.5 kB / 0.988 GB, free: 11.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.00837, allocations: 204 kB / 0.9882 GB, free: 11.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.008389, allocations: 33.7 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.008463, allocations: 144.4 kB / 0.9884 GB, free: 11.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.008485, allocations: 35.72 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.008535, allocations: 37.7 kB / 0.9884 GB, free: 11.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.008615, allocations: 326.8 kB / 0.9888 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.008687, allocations: 43.98 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.008797, allocations: 173.3 kB / 0.989 GB, free: 10.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.008911, allocations: 87.94 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.008915, allocations: 4 kB / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004647/0.00938, allocations: 145.5 kB / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.009392, allocations: 6.969 kB / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.009397, allocations: 4 kB / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.009408, allocations: 0 / 0.9892 GB, free: 10.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.009465, allocations: 15.98 kB / 0.9892 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.00947, allocations: 0 / 0.9892 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.009534, allocations: 31.95 kB / 0.9892 GB, free: 10.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.009543, allocations: 7.938 kB / 0.9893 GB, free: 10.56 MB / 0.948 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 8.516e-05/0.009628, allocations: 141.8 kB / 0.9894 GB, free: 10.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.00965, allocations: 15.91 kB / 0.9894 GB, free: 10.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.009677, allocations: 21.45 kB / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009679, allocations: 0 / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.009683, allocations: 0 / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.009685, allocations: 0 / 0.9894 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.009836, allocations: 197.1 kB / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009838, allocations: 4 kB / 0.9896 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.009879, allocations: 11.98 kB / 0.9896 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009881, allocations: 4 kB / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.00989, allocations: 0 / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.009891, allocations: 0 / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.009891, allocations: 3.938 kB / 0.9896 GB, free: 10.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.01008, allocations: 227.7 kB / 0.9899 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.01009, allocations: 23.8 kB / 0.9899 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.01011, allocations: 11.94 kB / 0.9899 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.01019, allocations: 23.97 kB / 0.9899 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.01025, allocations: 23.95 kB / 0.9899 GB, free: 9.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.01026, allocations: 4 kB / 0.9899 GB, free: 9.805 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.865e-05/0.01032, allocations: 140.2 kB / 0.9901 GB, free: 9.668 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 0 / 0.9901 GB, free: 9.668 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001681/0.01049, allocations: 35.89 kB / 0.9901 GB, free: 9.633 MB / 0.948 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 7.987e-05/0.01057, allocations: 111.2 kB / 0.9902 GB, free: 9.516 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.01076, allocations: 103.9 kB / 0.9903 GB, free: 9.414 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01076, allocations: 4 kB / 0.9903 GB, free: 9.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.01083, allocations: 47.92 kB / 0.9904 GB, free: 9.363 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.01103, allocations: 23.92 kB / 0.9904 GB, free: 9.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.01147, allocations: 344.2 kB / 0.9907 GB, free: 8.965 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.01154, allocations: 125.1 kB / 0.9908 GB, free: 8.824 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.01159, allocations: 20.48 kB / 0.9908 GB, free: 8.805 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/0.01159, allocations: 0 / 0.9908 GB, free: 8.805 MB / 0.948 GB Notification: Performance of Templates: time 0.00266/0.01425, allocations: 2.352 MB / 0.9931 GB, free: 6.461 MB / 0.948 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: 6.561836999841034]