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.001382/0.001382, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.00152/0.00152, allocations: 215.7 kB / 22.25 MB, free: 4.73 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.793 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.349/3.349, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 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.003024/0.003024, allocations: 77.86 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4599, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004011/0.4639, allocations: 1.69 MB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.4663, allocations: 1.371 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.4664, allocations: 8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.4667, allocations: 23.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004998/0.4672, allocations: 114 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.4677, allocations: 143.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.4681, allocations: 265.4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4682, allocations: 9.594 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.4683, allocations: 91.81 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.4686, allocations: 95.64 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.4686, allocations: 20 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.4688, allocations: 115.9 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.469, allocations: 91.8 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.4691, allocations: 87.45 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.4696, allocations: 346.6 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4696, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4696, allocations: 3.938 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4696, allocations: 0 / 1.33 GB, free: 13.42 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.001019/0.4706, allocations: 495.3 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4706, allocations: 12.03 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.4707, allocations: 32.75 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4711, allocations: 217.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4711, allocations: 8.375 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.4712, allocations: 24.31 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.4716, allocations: 328 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4716, allocations: 3.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4717, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.4717, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.4726, allocations: 0.6826 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.4735, allocations: 0.4958 MB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.4739, allocations: 212.4 kB / 1.332 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.4741, allocations: 92.81 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.4741, allocations: 15.98 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.4746, allocations: 195.2 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 5.611e-06/0.4746, allocations: 3.984 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.000757/0.4753, allocations: 374.6 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/0.4754, allocations: 132.5 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.4758, allocations: 316.9 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.4758, allocations: 37.7 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4759, allocations: 128.7 kB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.476, allocations: 111.1 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4761, allocations: 69.64 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.4763, allocations: 342.8 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4765, allocations: 75.95 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4767, allocations: 204.5 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.477, allocations: 210.3 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.477, allocations: 0 / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004545/0.4775, allocations: 273.3 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4775, allocations: 8 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4775, allocations: 0 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4775, allocations: 0 / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4778, allocations: 59.91 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4778, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.4779, allocations: 31.77 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.478, allocations: 19.92 kB / 1.335 GB, free: 8.016 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.000178/0.4782, allocations: 161.8 kB / 1.335 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.4782, allocations: 27.86 kB / 1.335 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.4789, allocations: 380.9 kB / 1.335 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4789, allocations: 4 kB / 1.335 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4789, allocations: 3.938 kB / 1.335 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4789, allocations: 4 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.4792, allocations: 237 kB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4792, allocations: 4 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.4794, allocations: 51.91 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4794, allocations: 4 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.4794, allocations: 11.98 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4794, allocations: 0 / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4794, allocations: 0 / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.4799, allocations: 329.7 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.4801, allocations: 63.73 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.4801, allocations: 15.92 kB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4803, allocations: 19.98 kB / 1.336 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.4803, allocations: 23.95 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4804, allocations: 12 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002454/0.4806, allocations: 244.4 kB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4806, allocations: 0 / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003319/0.4809, allocations: 75.86 kB / 1.336 GB, free: 6.316 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.001819/0.4828, allocations: 486.2 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000418/0.4832, allocations: 212.3 kB / 1.337 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4832, allocations: 4 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.4834, allocations: 120.4 kB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.4837, allocations: 33.03 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.4846, allocations: 0.5156 MB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.4848, allocations: 150.9 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003679/0.4852, allocations: 154.8 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4853, allocations: 47.41 kB / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4853, allocations: 0 / 1.338 GB, free: 4.754 MB / 1.029 GB Notification: Performance of Templates: time 0.008632/0.4939, allocations: 3.579 MB / 1.342 GB, free: 1.207 MB / 1.029 GB " [Timeout remaining time 299] 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.502887725830078]