Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001874/0.001874, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002448/0.002448, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.16/3.16, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [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.002892/0.002892, allocations: 69.64 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3333, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003173/0.3365, allocations: 1.671 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3386, allocations: 1.367 MB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.3386, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.3388, allocations: 31.78 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.3392, allocations: 115.5 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3396, allocations: 145.7 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.34, allocations: 253.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3401, allocations: 21.56 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3402, allocations: 95.75 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.3404, allocations: 97.59 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.3404, allocations: 16 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.3406, allocations: 120 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.3407, allocations: 99.72 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3408, allocations: 91.45 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.3413, allocations: 334.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3413, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3413, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3413, allocations: 4 kB / 1.331 GB, free: 12.56 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000837/0.3421, allocations: 0.4897 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3422, allocations: 8.031 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.3423, allocations: 28.75 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3426, allocations: 213.1 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3426, allocations: 20.38 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3426, allocations: 12.38 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.3431, allocations: 336 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3431, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.3431, allocations: 12 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3432, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.3441, allocations: 0.6787 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.345, allocations: 0.4996 MB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.3454, allocations: 204.5 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3456, allocations: 100.8 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.3456, allocations: 11.98 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.346, allocations: 199.2 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.346, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007145/0.3467, allocations: 370.6 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/0.3468, allocations: 132.5 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3472, allocations: 320.9 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3472, allocations: 33.7 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.3473, allocations: 124.7 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.3474, allocations: 111.1 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3475, allocations: 69.64 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3477, allocations: 346.7 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3478, allocations: 75.95 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3481, allocations: 204.4 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.3484, allocations: 214.2 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3484, allocations: 0 / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004646/0.3489, allocations: 273.4 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3489, allocations: 8 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3489, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3489, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3492, allocations: 59.91 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3492, allocations: 4 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.3493, allocations: 31.77 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.3494, allocations: 15.94 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001723/0.3495, allocations: 161.8 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.3496, allocations: 27.84 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007271/0.3503, allocations: 380.9 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3503, allocations: 4 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3503, allocations: 3.984 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3503, allocations: 4.031 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.3506, allocations: 237 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3506, allocations: 0 / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.3508, allocations: 63.91 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3508, allocations: 8 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3508, allocations: 8 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3508, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3508, allocations: 0 / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.3514, allocations: 325.6 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.3515, allocations: 63.73 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.3516, allocations: 8 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.3517, allocations: 15.98 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.3518, allocations: 23.95 kB / 1.338 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3518, allocations: 11.98 kB / 1.338 GB, free: 5.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002395/0.3521, allocations: 248.4 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3521, allocations: 4 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003342/0.3524, allocations: 71.88 kB / 1.338 GB, free: 5.457 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: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001717/0.3541, allocations: 0.4883 MB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.3545, allocations: 220.3 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3545, allocations: 0 / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3547, allocations: 124.3 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.355, allocations: 29.05 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.3559, allocations: 0.5134 MB / 1.339 GB, free: 4.254 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.356, allocations: 150.9 kB / 1.34 GB, free: 4.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003265/0.3564, allocations: 142.9 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.3564, allocations: 43.42 kB / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3564, allocations: 0 / 1.34 GB, free: 3.898 MB / 1.029 GB Notification: Performance of Templates: time 0.008181/0.3646, allocations: 3.679 MB / 1.343 GB, free: 260 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.740455495993956]