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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00154/0.001545, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001604/0.001604, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.03 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003977/0.3428, allocations: 1.656 MB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3448, allocations: 1.179 MB / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.3449, allocations: 0 / 0.9539 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3452, allocations: 31.77 kB / 0.9539 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.3456, allocations: 71.62 kB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.346, allocations: 143.4 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.3464, allocations: 249.5 kB / 0.9544 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3465, allocations: 19.98 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3467, allocations: 87.75 kB / 0.9545 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.3469, allocations: 99.7 kB / 0.9546 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.347, allocations: 16 kB / 0.9546 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.3471, allocations: 71.97 kB / 0.9547 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3473, allocations: 87.8 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3474, allocations: 107.3 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.3478, allocations: 291 kB / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3479, allocations: 0 / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3479, allocations: 0 / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3479, allocations: 0 / 0.9551 GB, free: 3.973 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.0009271/0.3488, allocations: 0.5383 MB / 0.9556 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3489, allocations: 8.031 kB / 0.9557 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.205e-05/0.349, allocations: 32.56 kB / 0.9557 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.3493, allocations: 272.6 kB / 0.9559 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.3494, allocations: 8.375 kB / 0.956 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.3494, allocations: 16.38 kB / 0.956 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3498, allocations: 220.6 kB / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3498, allocations: 0 / 0.9562 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3498, allocations: 8 kB / 0.9562 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3498, allocations: 4 kB / 0.9562 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.3509, allocations: 0.7412 MB / 0.9569 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009527/0.3519, allocations: 0.5744 MB / 0.9575 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3522, allocations: 227.4 kB / 0.9577 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3524, allocations: 101.3 kB / 0.9578 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.3525, allocations: 23.95 kB / 0.9578 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000407/0.3529, allocations: 185.3 kB / 0.958 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.3529, allocations: 0 / 0.958 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.0006873/0.3536, allocations: 366.8 kB / 0.9583 GB, free: 496 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.3537, allocations: 132.5 kB / 0.9585 GB, free: 332 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.3541, allocations: 308.9 kB / 0.9588 GB, free: 8 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.3542, allocations: 29.7 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.206e-05/0.3543, allocations: 128.7 kB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.3544, allocations: 106.4 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3545, allocations: 69.69 kB / 0.9591 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3547, allocations: 338.8 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.3548, allocations: 75.95 kB / 0.9595 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.355, allocations: 128.4 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.3554, allocations: 204.7 kB / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3554, allocations: 0 / 0.9598 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004467/0.3558, allocations: 277.7 kB / 0.9601 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3558, allocations: 8 kB / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3559, allocations: 0 / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3559, allocations: 0 / 0.9601 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.3561, allocations: 67.83 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3561, allocations: 0 / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3563, allocations: 23.78 kB / 0.9601 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.3563, allocations: 15.98 kB / 0.9602 GB, free: 14.52 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.0002362/0.3566, allocations: 163.7 kB / 0.9603 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.3566, allocations: 31.62 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.3574, allocations: 372.8 kB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3574, allocations: 8 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3574, allocations: 0 / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.3575, allocations: 7.922 kB / 0.9607 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.3578, allocations: 325.3 kB / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3578, allocations: 0 / 0.961 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.358, allocations: 55.91 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.358, allocations: 4 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.358, allocations: 11.98 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.358, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.358, allocations: 0 / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/0.3585, allocations: 322.2 kB / 0.9614 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.3587, allocations: 140.7 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.3588, allocations: 7.984 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.3589, allocations: 19.98 kB / 0.9616 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.359, allocations: 23.91 kB / 0.9616 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.359, allocations: 12 kB / 0.9616 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002664/0.3593, allocations: 240.4 kB / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3593, allocations: 4 kB / 0.9618 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003043/0.3596, allocations: 63.84 kB / 0.9619 GB, free: 12.64 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.001094/0.3607, allocations: 408.7 kB / 0.9623 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.3612, allocations: 228 kB / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3612, allocations: 0 / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3614, allocations: 127.8 kB / 0.9626 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.3617, allocations: 32.66 kB / 0.9627 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009515/0.3626, allocations: 497 kB / 0.9631 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3631, allocations: 0.7656 MB / 0.9639 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003041/0.3634, allocations: 142.9 kB / 0.964 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.3635, allocations: 39.42 kB / 0.9641 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of SimCode: time 4e-07/0.3635, allocations: 0 / 0.9641 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.007373/0.3709, allocations: 3.035 MB / 0.967 GB, free: 7.512 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 -s cvode -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