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.001729/0.001729, allocations: 103 kB / 16.45 MB, free: 6.449 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.002132/0.002132, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.538/1.538, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.35/3.35, allocations: 0.4899 GB / 0.7915 GB, free: 33.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002171/0.002171, allocations: 69.16 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4093, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003798/0.4131, allocations: 2.071 MB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4144, allocations: 0.6506 MB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.4145, allocations: 11.94 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.4147, allocations: 19.73 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4148, allocations: 47.55 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.4151, allocations: 95.75 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.4154, allocations: 232 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.4157, allocations: 83.62 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.4159, allocations: 103.6 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.416, allocations: 103.5 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.4161, allocations: 24 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.4162, allocations: 39.94 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.4163, allocations: 59.81 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.4164, allocations: 103.4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.4168, allocations: 282.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4168, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4168, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.4168, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 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.0009326/0.4177, allocations: 0.5295 MB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.4178, allocations: 15.98 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.4181, allocations: 48.72 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.4186, allocations: 263.9 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.4186, allocations: 24.31 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.4187, allocations: 12.38 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.4191, allocations: 224.9 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4192, allocations: 0 / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4192, allocations: 8 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.4192, allocations: 4 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.4196, allocations: 143.9 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.4206, allocations: 0.5973 MB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.421, allocations: 122.7 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4212, allocations: 40.84 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4212, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.4212, allocations: 34.56 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.4212, allocations: 0 / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005074/0.4217, allocations: 173.9 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.4218, allocations: 132.5 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4221, allocations: 215.1 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.4221, allocations: 33.7 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4222, allocations: 148.3 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.4223, allocations: 35.72 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.4224, allocations: 37.7 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4225, allocations: 334.8 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4226, allocations: 43.98 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.4228, allocations: 84.27 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.423, allocations: 89.62 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.423, allocations: 0 / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003342/0.4234, allocations: 149.5 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4234, allocations: 4 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4234, allocations: 0 / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4234, allocations: 7.984 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.4235, allocations: 19.88 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4235, allocations: 3.984 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.4237, allocations: 27.97 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4237, allocations: 4 kB / 1.329 GB, free: 11.04 MB / 1.029 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.0001532/0.4238, allocations: 145.7 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.4239, allocations: 19.86 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.424, allocations: 25.41 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.424, allocations: 3.938 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.424, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.424, allocations: 7.984 kB / 1.329 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.4243, allocations: 265.5 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4243, allocations: 4 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.4244, allocations: 11.98 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4244, allocations: 0 / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4244, allocations: 4 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4244, allocations: 3.938 kB / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4244, allocations: 0 / 1.329 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.4248, allocations: 231.3 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.4249, allocations: 92.97 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.5e-05/0.4249, allocations: 8 kB / 1.329 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4251, allocations: 24 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.4252, allocations: 23.91 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.4252, allocations: 8 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001487/0.4253, allocations: 160.6 kB / 1.33 GB, free: 9.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4253, allocations: 4 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002789/0.4256, allocations: 43.83 kB / 1.33 GB, free: 9.883 MB / 1.029 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.0001589/0.4257, allocations: 107.2 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003437/0.4261, allocations: 110.9 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4261, allocations: 0 / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.4262, allocations: 55.97 kB / 1.33 GB, free: 9.605 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.4266, allocations: 18.92 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.4273, allocations: 340.5 kB / 1.33 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.4277, allocations: 0.7358 MB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.568e-05/0.4278, allocations: 17.45 kB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.4279, allocations: 23.42 kB / 1.331 GB, free: 8.426 MB / 1.029 GB Notification: Performance of SimCode: time 4e-07/0.4279, allocations: 0 / 1.331 GB, free: 8.426 MB / 1.029 GB Notification: Performance of Templates: time 0.006164/0.434, allocations: 2.127 MB / 1.333 GB, free: 6.32 MB / 1.029 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: 9.613871248904616]