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.001892/0.001892, allocations: 111 kB / 16.46 MB, free: 6.453 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.002435/0.002435, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.292/3.292, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.002087/0.002087, allocations: 70.25 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 176.1 MB / 1.321 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004229/0.3639, allocations: 1.699 MB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.3662, allocations: 1.316 MB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3663, allocations: 0 / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3666, allocations: 31.72 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.367, allocations: 111.5 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.3674, allocations: 151.5 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.3678, allocations: 261.5 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3679, allocations: 13.34 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.368, allocations: 95.75 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.3683, allocations: 103.7 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.3684, allocations: 19.94 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.3686, allocations: 127.9 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3687, allocations: 83.8 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3689, allocations: 107.3 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005264/0.3694, allocations: 342.6 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3694, allocations: 4 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3694, allocations: 0 / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3694, allocations: 0 / 1.326 GB, free: 14.38 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.0009984/0.3704, allocations: 0.5612 MB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3704, allocations: 15.97 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3705, allocations: 36.69 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3709, allocations: 274.8 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.3709, allocations: 12.38 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.3709, allocations: 16.38 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004082/0.3714, allocations: 226.4 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3714, allocations: 0 / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3714, allocations: 12 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3714, allocations: 4 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009789/0.3724, allocations: 0.7334 MB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3734, allocations: 0.5859 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.3738, allocations: 203.5 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3739, allocations: 92.81 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.053e-05/0.374, allocations: 23.91 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.3744, allocations: 173.5 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.3744, allocations: 0 / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007235/0.3751, allocations: 363.5 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3752, allocations: 132.5 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.3756, allocations: 324.9 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.3756, allocations: 29.7 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3757, allocations: 136.7 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.3758, allocations: 115 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.376, allocations: 65.69 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3761, allocations: 334.8 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3763, allocations: 83.95 kB / 1.33 GB, free: 9.621 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.3765, allocations: 127.6 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3769, allocations: 205.3 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3769, allocations: 0 / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000492/0.3774, allocations: 269.3 kB / 1.331 GB, free: 9.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3774, allocations: 4 kB / 1.331 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3774, allocations: 7.875 kB / 1.331 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3774, allocations: 3.984 kB / 1.331 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3777, allocations: 63.97 kB / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3777, allocations: 0 / 1.331 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3778, allocations: 31.72 kB / 1.331 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3779, allocations: 15.98 kB / 1.331 GB, free: 8.887 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.0001788/0.378, allocations: 157.8 kB / 1.331 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.3781, allocations: 31.8 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.3788, allocations: 380.7 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3788, allocations: 4 kB / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3788, allocations: 0 / 1.331 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3789, allocations: 7.922 kB / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.3792, allocations: 337.3 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3792, allocations: 0 / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.3794, allocations: 59.91 kB / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3794, allocations: 0 / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3794, allocations: 8 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3794, allocations: 4 kB / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3795, allocations: 0 / 1.332 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.38, allocations: 326.3 kB / 1.332 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3801, allocations: 144.8 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.3802, allocations: 8 kB / 1.332 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3803, allocations: 15.98 kB / 1.332 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3804, allocations: 27.89 kB / 1.332 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.3805, allocations: 15.94 kB / 1.332 GB, free: 7.289 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002441/0.3807, allocations: 244.4 kB / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3807, allocations: 0 / 1.332 GB, free: 7.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003696/0.3811, allocations: 79.86 kB / 1.332 GB, free: 6.973 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.001603/0.3827, allocations: 456.3 kB / 1.333 GB, free: 6.684 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.3831, allocations: 215.7 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3831, allocations: 4 kB / 1.333 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.3833, allocations: 111.9 kB / 1.333 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3836, allocations: 36.42 kB / 1.333 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.3846, allocations: 0.5211 MB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.385, allocations: 0.7613 MB / 1.334 GB, free: 4.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.3853, allocations: 146.8 kB / 1.335 GB, free: 4.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.69e-05/0.3854, allocations: 51.41 kB / 1.335 GB, free: 4.789 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3854, allocations: 0 / 1.335 GB, free: 4.789 MB / 1.029 GB Notification: Performance of Templates: time 0.008032/0.3935, allocations: 3.521 MB / 1.338 GB, free: 1.301 MB / 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 -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/jenkins/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: 9.183181890752167]