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.001378/0.001378, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001553/0.001553, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.505/3.505, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002069/0.002069, allocations: 64.56 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4165, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.00387/0.4204, allocations: 2.018 MB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.4217, allocations: 0.6118 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.4218, allocations: 7.938 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.422, allocations: 23.73 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.4221, allocations: 39.59 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.4225, allocations: 95.83 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.4228, allocations: 232 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.423, allocations: 81.08 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.4232, allocations: 103.6 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.4233, allocations: 87.53 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.4234, allocations: 28 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.4235, allocations: 36 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.4235, allocations: 63.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.4236, allocations: 79.59 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004013/0.424, allocations: 290.8 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.424, allocations: 0 / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.424, allocations: 0 / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4241, allocations: 0 / 1.368 GB, free: 9.801 MB / 1.061 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.0008719/0.4249, allocations: 465.1 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.425, allocations: 8.031 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.4253, allocations: 48.77 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.4257, allocations: 194.1 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.4257, allocations: 20.38 kB / 1.368 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4257, allocations: 16.38 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.4262, allocations: 309.9 kB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4262, allocations: 4 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4263, allocations: 8 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4263, allocations: 7.984 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.4266, allocations: 143.7 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000886/0.4275, allocations: 479.6 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.4278, allocations: 118.8 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.428, allocations: 44.84 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.428, allocations: 192 / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.428, allocations: 38.5 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.428, allocations: 0 / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004769/0.4285, allocations: 161.5 kB / 1.37 GB, free: 7.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.202e-05/0.4286, allocations: 140.5 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4288, allocations: 194.5 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4288, allocations: 33.7 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4289, allocations: 144.4 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.429, allocations: 35.72 kB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.429, allocations: 33.7 kB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4292, allocations: 330.8 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4293, allocations: 43.98 kB / 1.37 GB, free: 6.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.4295, allocations: 161.4 kB / 1.371 GB, free: 6.438 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4297, allocations: 95.62 kB / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4297, allocations: 0 / 1.371 GB, free: 6.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003114/0.43, allocations: 149.5 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.43, allocations: 10.34 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.43, allocations: 3.938 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4301, allocations: 0 / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4302, allocations: 15.98 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4302, allocations: 11.97 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.4303, allocations: 23.88 kB / 1.371 GB, free: 6.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.4303, allocations: 7.984 kB / 1.371 GB, free: 6.117 MB / 1.061 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.0001535/0.4305, allocations: 137.8 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.4305, allocations: 15.91 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.4306, allocations: 21.34 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4306, allocations: 384 / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.4306, allocations: 3.938 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4306, allocations: 7.984 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4308, allocations: 189.2 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4308, allocations: 3.938 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.4309, allocations: 8 kB / 1.371 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4309, allocations: 4 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4309, allocations: 7.922 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4309, allocations: 0 / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4309, allocations: 4 kB / 1.371 GB, free: 5.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.4313, allocations: 227.3 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.4313, allocations: 19.91 kB / 1.371 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.4313, allocations: 4 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.4315, allocations: 23.97 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.4316, allocations: 23.95 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4316, allocations: 7.938 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001263/0.4317, allocations: 144.2 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4317, allocations: 0 / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002782/0.432, allocations: 39.83 kB / 1.372 GB, free: 5.184 MB / 1.061 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.0001775/0.4322, allocations: 111.2 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003165/0.4325, allocations: 99.89 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4325, allocations: 0 / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.4326, allocations: 51.97 kB / 1.372 GB, free: 4.914 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.4329, allocations: 16.28 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.4336, allocations: 349 kB / 1.372 GB, free: 4.531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.4337, allocations: 125 kB / 1.372 GB, free: 4.391 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.55e-05/0.4338, allocations: 21.45 kB / 1.372 GB, free: 4.371 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.4339, allocations: 15.44 kB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4339, allocations: 0 / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of Templates: time 0.006437/0.4403, allocations: 2.268 MB / 1.375 GB, free: 2.164 MB / 1.061 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: 9.507569648325443]