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.001489/0.001489, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002235/0.002236, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.46/2.46, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8216, allocations: 140.4 MB / 0.9489 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003131/0.8247, allocations: 1.708 MB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001773/0.8266, allocations: 1.15 MB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.8266, allocations: 1.25 kB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.8269, allocations: 26 kB / 0.9517 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.8272, allocations: 55.41 kB / 0.9518 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.8276, allocations: 133.8 kB / 0.9519 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.8279, allocations: 225.9 kB / 0.9521 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.828, allocations: 22.02 kB / 0.9522 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.8281, allocations: 70.02 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.8283, allocations: 89.23 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.8284, allocations: 10.06 kB / 0.9523 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.8286, allocations: 70.16 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.8287, allocations: 73.55 kB / 0.9525 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.8288, allocations: 101.5 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.8291, allocations: 274.1 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.8291, allocations: 4 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.255e-06/0.8291, allocations: 1.5 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8292, allocations: 0 / 0.9528 GB, free: 6.211 MB / 0.7169 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.0007203/0.8299, allocations: 0.537 MB / 0.9533 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.8299, allocations: 9.688 kB / 0.9533 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.01e-05/0.83, allocations: 29.5 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.8303, allocations: 265.8 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.8303, allocations: 18.92 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.8303, allocations: 19.19 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.8307, allocations: 225.2 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8307, allocations: 1.438 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.8307, allocations: 13.42 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8307, allocations: 4 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009264/0.8317, allocations: 0.7309 MB / 0.9546 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.8327, allocations: 0.5757 MB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.8331, allocations: 227.3 kB / 0.9554 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.8333, allocations: 100.7 kB / 0.9555 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.8333, allocations: 17.44 kB / 0.9555 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.8337, allocations: 176.1 kB / 0.9557 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.8337, allocations: 0 / 0.9557 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006749/0.8344, allocations: 366.7 kB / 0.956 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.8344, allocations: 136.1 kB / 0.9562 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.8347, allocations: 311.8 kB / 0.9565 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.8347, allocations: 31.08 kB / 0.9565 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.8348, allocations: 122.4 kB / 0.9566 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.8349, allocations: 112.1 kB / 0.9567 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-05/0.835, allocations: 65.19 kB / 0.9568 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.8351, allocations: 339.1 kB / 0.9571 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.8352, allocations: 79.05 kB / 0.9572 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.8355, allocations: 127.3 kB / 0.9573 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.8359, allocations: 204.3 kB / 0.9575 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8359, allocations: 0 / 0.9575 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005145/0.8364, allocations: 276.2 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.8364, allocations: 5.594 kB / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8364, allocations: 0 / 0.9577 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.8365, allocations: 2.25 kB / 0.9578 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.8367, allocations: 61.28 kB / 0.9578 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8368, allocations: 5.625 kB / 0.9578 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.8369, allocations: 32.3 kB / 0.9578 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.837, allocations: 12.73 kB / 0.9579 GB, free: 2.527 MB / 0.7169 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.0002047/0.8372, allocations: 161.2 kB / 0.958 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.8373, allocations: 27.94 kB / 0.958 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/0.8381, allocations: 380.7 kB / 0.9584 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8381, allocations: 4.312 kB / 0.9584 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8381, allocations: 0 / 0.9584 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8381, allocations: 3.938 kB / 0.9584 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.8384, allocations: 332.3 kB / 0.9587 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8385, allocations: 1.094 kB / 0.9587 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.8386, allocations: 67.06 kB / 0.9588 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8387, allocations: 1.156 kB / 0.9588 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.8387, allocations: 12.92 kB / 0.9588 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8387, allocations: 1.125 kB / 0.9588 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8387, allocations: 0 / 0.9588 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.8392, allocations: 314.8 kB / 0.9591 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.8393, allocations: 141.8 kB / 0.9592 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.8393, allocations: 6.312 kB / 0.9592 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.8395, allocations: 20.23 kB / 0.9593 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.8396, allocations: 31.73 kB / 0.9593 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.16e-05/0.8396, allocations: 9.312 kB / 0.9593 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001898/0.8398, allocations: 236.8 kB / 0.9595 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8398, allocations: 0 / 0.9595 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003202/0.8402, allocations: 55.53 kB / 0.9596 GB, free: 1.301 MB / 0.7169 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.0009978/0.8412, allocations: 411.3 kB / 0.96 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004211/0.8416, allocations: 224.9 kB / 0.9602 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8416, allocations: 0 / 0.9602 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.8418, allocations: 128.6 kB / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.8421, allocations: 29.12 kB / 0.9603 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.843, allocations: 0.5813 MB / 0.9609 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.8433, allocations: 0.7548 MB / 0.9616 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003396/0.8436, allocations: 150.7 kB / 0.9618 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.8437, allocations: 40.39 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8437, allocations: 3.938 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.007454/0.8512, allocations: 2.94 MB / 0.9647 GB, free: 14.25 MB / 0.7325 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/jenkins/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