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.001575/0.001575, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001882/0.001882, allocations: 216.9 kB / 23.04 MB, free: 4.844 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.266/3.266, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.002054/0.002054, allocations: 66.98 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4151, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003661/0.4188, allocations: 1.683 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002327/0.4211, allocations: 1.367 MB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.4212, allocations: 8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.4214, allocations: 27.78 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.4219, allocations: 111.5 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.4223, allocations: 143.4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.4227, allocations: 261.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4228, allocations: 13.58 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.4229, allocations: 91.77 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.4231, allocations: 98.03 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.4231, allocations: 20 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.4234, allocations: 115.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4235, allocations: 87.81 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.4236, allocations: 91.39 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.4241, allocations: 338.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4241, allocations: 3.938 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4241, allocations: 3.938 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.4241, allocations: 0 / 1.331 GB, free: 12.47 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.0008957/0.425, allocations: 0.4917 MB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4251, allocations: 12.03 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.272e-05/0.4251, allocations: 32.75 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.4255, allocations: 217.1 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.4255, allocations: 8.375 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4255, allocations: 16.38 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.426, allocations: 332 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.426, allocations: 0 / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.426, allocations: 4 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.4261, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009438/0.427, allocations: 0.6826 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/0.428, allocations: 0.4997 MB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.4283, allocations: 208.5 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.4285, allocations: 96.75 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.4285, allocations: 11.98 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.429, allocations: 195.2 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 1.953e-06/0.429, allocations: 0 / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007415/0.4297, allocations: 374.6 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4298, allocations: 132.5 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.4302, allocations: 320.9 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.4302, allocations: 33.7 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4303, allocations: 128.7 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.4305, allocations: 115.1 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4306, allocations: 65.64 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4307, allocations: 342.8 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.4309, allocations: 75.95 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4311, allocations: 204.5 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4315, allocations: 210.3 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4315, allocations: 0 / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004606/0.4319, allocations: 269.4 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.432, allocations: 8 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.432, allocations: 0 / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.432, allocations: 3.984 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.4322, allocations: 59.91 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.4322, allocations: 0 / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.4324, allocations: 31.78 kB / 1.336 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.4324, allocations: 15.92 kB / 1.336 GB, free: 7.074 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.0001692/0.4326, allocations: 165.7 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.4326, allocations: 27.86 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007192/0.4334, allocations: 384.9 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4334, allocations: 8.031 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4334, allocations: 0 / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4334, allocations: 7.984 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.4337, allocations: 237 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4337, allocations: 4 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4339, allocations: 51.92 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4339, allocations: 4 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.4339, allocations: 11.98 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4339, allocations: 0 / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.4339, allocations: 7.922 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.4344, allocations: 325.6 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.4346, allocations: 63.73 kB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.4346, allocations: 12 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4348, allocations: 15.98 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.4348, allocations: 23.95 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.4349, allocations: 16 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002496/0.4351, allocations: 240.4 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4351, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003429/0.4355, allocations: 75.86 kB / 1.338 GB, free: 5.367 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.001797/0.4373, allocations: 498.3 kB / 1.339 GB, free: 5.062 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004538/0.4377, allocations: 212.3 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4377, allocations: 4 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.4379, allocations: 112.4 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.4382, allocations: 35.98 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4393, allocations: 0.5463 MB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.4394, allocations: 150.9 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4395, allocations: 47.41 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4395, allocations: 0 / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of Templates: time 0.008495/0.448, allocations: 4.67 MB / 1.344 GB, free: 15.25 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: 12.149848917964846]