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.001859/0.001859, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002142/0.002142, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.208/3.208, allocations: 0.49 GB / 0.7958 GB, free: 33.3 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.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.001977/0.001977, allocations: 72.02 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003807/0.3478, allocations: 1.711 MB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00245/0.3503, allocations: 1.398 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.3503, allocations: 4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3506, allocations: 27.78 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.351, allocations: 119.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.3514, allocations: 143.2 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.3518, allocations: 257.5 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3519, allocations: 13.59 kB / 1.331 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.352, allocations: 91.75 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.3523, allocations: 107.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.3523, allocations: 20 kB / 1.331 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.3525, allocations: 127.9 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3527, allocations: 79.81 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.3528, allocations: 119.3 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.3532, allocations: 338.6 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3532, allocations: 0 / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3532, allocations: 4 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.3532, allocations: 0 / 1.332 GB, free: 12.91 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.0008317/0.3541, allocations: 497.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3541, allocations: 12.02 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.3542, allocations: 28.75 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3545, allocations: 213.1 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.3545, allocations: 24.31 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.3546, allocations: 12.38 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.355, allocations: 225.2 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.355, allocations: 0 / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.355, allocations: 4 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.355, allocations: 4 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009522/0.356, allocations: 0.7373 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.3569, allocations: 0.5693 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.3573, allocations: 212 kB / 1.334 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3575, allocations: 92.81 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.3575, allocations: 19.95 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.3579, allocations: 177.5 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.3579, allocations: 3.938 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0006913/0.3586, allocations: 362.6 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.3587, allocations: 136.5 kB / 1.335 GB, free: 9.453 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.3591, allocations: 320.9 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.3591, allocations: 33.7 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3592, allocations: 124.7 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3593, allocations: 115.1 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3594, allocations: 73.58 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3596, allocations: 338.8 kB / 1.336 GB, free: 8.426 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3597, allocations: 75.95 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.3599, allocations: 119.4 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3603, allocations: 206.4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3603, allocations: 0 / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004487/0.3607, allocations: 273.4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3607, allocations: 8 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3607, allocations: 4 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3608, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.361, allocations: 59.95 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.361, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3611, allocations: 49.31 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3612, allocations: 8 kB / 1.337 GB, free: 7.621 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.0001738/0.3613, allocations: 165.7 kB / 1.337 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.3614, allocations: 23.86 kB / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006683/0.3621, allocations: 380.9 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3621, allocations: 7.984 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3621, allocations: 4 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3621, allocations: 7.938 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3624, allocations: 300.4 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3624, allocations: 0 / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3626, allocations: 59.91 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3626, allocations: 0 / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3626, allocations: 15.98 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3626, allocations: 0 / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3626, allocations: 4 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.3631, allocations: 317.7 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3632, allocations: 63.73 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.3633, allocations: 8 kB / 1.338 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.3634, allocations: 19.97 kB / 1.338 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.3635, allocations: 23.91 kB / 1.338 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.3635, allocations: 15.98 kB / 1.338 GB, free: 6.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002345/0.3638, allocations: 244.4 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 4 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000321/0.3641, allocations: 83.8 kB / 1.338 GB, free: 5.836 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.001585/0.3657, allocations: 463.3 kB / 1.339 GB, free: 5.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.3661, allocations: 216.3 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3661, allocations: 7.938 kB / 1.339 GB, free: 5.324 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3663, allocations: 112.4 kB / 1.339 GB, free: 5.215 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3665, allocations: 34.45 kB / 1.339 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/0.3674, allocations: 0.5424 MB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3678, allocations: 0.769 MB / 1.34 GB, free: 3.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.368, allocations: 51.41 kB / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.368, allocations: 0 / 1.34 GB, free: 3.762 MB / 1.029 GB Notification: Performance of Templates: time 0.007694/0.3756, allocations: 4.608 MB / 1.345 GB, free: 15.16 MB / 1.045 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 -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: 11.908288751001237]