Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 105.4 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 198.9 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 62.91 kB / 0.8127 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2662, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003374/0.2696, allocations: 1.718 MB / 0.9514 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.2714, allocations: 1.152 MB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.2716, allocations: 4 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.2718, allocations: 19.92 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.2721, allocations: 59.77 kB / 0.9527 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.2726, allocations: 126.6 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.2728, allocations: 249.5 kB / 0.953 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.273, allocations: 19.98 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2731, allocations: 79.83 kB / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2733, allocations: 99.7 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.2734, allocations: 16 kB / 0.9532 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2735, allocations: 83.89 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.291e-05/0.2736, allocations: 75.81 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2738, allocations: 107.4 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.2741, allocations: 211.8 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2741, allocations: 0 / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2741, allocations: 0 / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.2742, allocations: 0 / 0.9537 GB, free: 5.211 MB / 0.7325 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.0007631/0.2749, allocations: 0.5345 MB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.275, allocations: 12.03 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.2751, allocations: 28.56 kB / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2754, allocations: 260.9 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2754, allocations: 16.36 kB / 0.9545 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2754, allocations: 16.31 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2758, allocations: 228.6 kB / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2758, allocations: 0 / 0.9547 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.2758, allocations: 4 kB / 0.9547 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2758, allocations: 7.938 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/0.2767, allocations: 0.7334 MB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009377/0.2776, allocations: 0.5783 MB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.278, allocations: 231.5 kB / 0.9562 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2781, allocations: 100.8 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.273e-05/0.2782, allocations: 23.95 kB / 0.9564 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.2785, allocations: 177.3 kB / 0.9565 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2786, allocations: 0 / 0.9565 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.000653/0.2792, allocations: 367.7 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.2793, allocations: 136.5 kB / 0.957 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.2796, allocations: 304.9 kB / 0.9573 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.2796, allocations: 33.7 kB / 0.9573 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.2797, allocations: 124.7 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.2799, allocations: 114.4 kB / 0.9576 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.349e-05/0.28, allocations: 65.69 kB / 0.9576 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2801, allocations: 330.8 kB / 0.9579 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2802, allocations: 87.89 kB / 0.958 GB, free: 496 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2804, allocations: 123.6 kB / 0.9581 GB, free: 360 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2807, allocations: 212.7 kB / 0.9583 GB, free: 144 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.2807, allocations: 0 / 0.9583 GB, free: 144 kB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004222/0.2811, allocations: 269.8 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2812, allocations: 4 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2812, allocations: 0 / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2812, allocations: 4 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2814, allocations: 63.91 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2814, allocations: 4 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.2816, allocations: 27.77 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2816, allocations: 11.98 kB / 0.9587 GB, free: 15.76 MB / 0.7481 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.0002535/0.2819, allocations: 163.7 kB / 0.9589 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.2819, allocations: 27.62 kB / 0.9589 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.2826, allocations: 380.7 kB / 0.9593 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2826, allocations: 4 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2826, allocations: 0 / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.2826, allocations: 3.938 kB / 0.9593 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2829, allocations: 329.3 kB / 0.9596 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2829, allocations: 0 / 0.9596 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.2831, allocations: 63.84 kB / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2831, allocations: 0 / 0.9596 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2832, allocations: 11.98 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.2832, allocations: 4 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2832, allocations: 4 kB / 0.9597 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004783/0.2837, allocations: 314.2 kB / 0.96 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.2838, allocations: 140.7 kB / 0.9601 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.2838, allocations: 12 kB / 0.9601 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.284, allocations: 18.78 kB / 0.9601 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.2841, allocations: 27.91 kB / 0.9602 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.2841, allocations: 12 kB / 0.9602 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001883/0.2843, allocations: 240.4 kB / 0.9604 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.876e-06/0.2843, allocations: 3.938 kB / 0.9604 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002907/0.2846, allocations: 71.78 kB / 0.9605 GB, free: 13.87 MB / 0.7481 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.0009113/0.2855, allocations: 403.3 kB / 0.9608 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.2861, allocations: 295.7 kB / 0.9611 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2861, allocations: 3.938 kB / 0.9611 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2863, allocations: 123.8 kB / 0.9613 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2866, allocations: 38.91 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008399/0.2874, allocations: 0.6052 MB / 0.9619 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.2877, allocations: 0.7612 MB / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.2879, allocations: 51.41 kB / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of SimCode: time 4.1e-07/0.2879, allocations: 0 / 0.9627 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.006861/0.2947, allocations: 4.183 MB / 0.9668 GB, free: 7.516 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches