Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001878/0.001878, allocations: 109 kB / 15.99 MB, free: 5.914 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.001969/0.001969, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7107 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 71.77 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.337, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003816/0.3408, allocations: 1.709 MB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.343, allocations: 1.152 MB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.3431, allocations: 3.938 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3434, allocations: 27.91 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.3438, allocations: 55.75 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3443, allocations: 124.4 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.3447, allocations: 249.4 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3448, allocations: 31.95 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.345, allocations: 79.83 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.3453, allocations: 99.7 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.3453, allocations: 16 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.3456, allocations: 79.91 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3457, allocations: 79.81 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3459, allocations: 107.3 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3462, allocations: 211.9 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3462, allocations: 4 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3463, allocations: 0 / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.3463, allocations: 0 / 1.021 GB, free: 6.973 MB / 0.795 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.0009743/0.3473, allocations: 0.5307 MB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3473, allocations: 11.97 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3474, allocations: 28.56 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.3478, allocations: 276.5 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.3479, allocations: 8.375 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.3479, allocations: 16.38 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.3483, allocations: 230.3 kB / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3484, allocations: 0 / 1.022 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.3484, allocations: 8 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3484, allocations: 4 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3494, allocations: 0.7373 MB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3505, allocations: 0.582 MB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.351, allocations: 224.5 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3512, allocations: 104.8 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.3512, allocations: 23.95 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.3517, allocations: 174 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.3517, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.0007594/0.3525, allocations: 370.8 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3526, allocations: 132.5 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.353, allocations: 304.9 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.353, allocations: 33.69 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.3531, allocations: 124.7 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3533, allocations: 110.4 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3534, allocations: 65.69 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.3536, allocations: 338.8 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.3537, allocations: 79.95 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3539, allocations: 119.3 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.3543, allocations: 210.3 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3543, allocations: 0 / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004943/0.3548, allocations: 273.3 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3548, allocations: 4 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3549, allocations: 8 kB / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3549, allocations: 0 / 1.026 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3551, allocations: 59.91 kB / 1.026 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3551, allocations: 7.969 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3553, allocations: 25.61 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.3553, allocations: 19.92 kB / 1.026 GB, free: 1.523 MB / 0.795 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.0002064/0.3555, allocations: 161.8 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.3556, allocations: 27.62 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.3564, allocations: 384.9 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3564, allocations: 4 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3564, allocations: 0 / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3564, allocations: 7.922 kB / 1.027 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3568, allocations: 325.3 kB / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3568, allocations: 0 / 1.027 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.357, allocations: 55.91 kB / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.357, allocations: 0 / 1.027 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.357, allocations: 15.98 kB / 1.027 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.357, allocations: 4 kB / 1.027 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.357, allocations: 0 / 1.027 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005033/0.3575, allocations: 317.7 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.3577, allocations: 140.7 kB / 1.028 GB, free: 12 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.3578, allocations: 11.98 kB / 1.028 GB, free: 0 / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.3579, allocations: 19.98 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.358, allocations: 27.91 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.3581, allocations: 12 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002292/0.3583, allocations: 236.4 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3583, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003083/0.3586, allocations: 59.84 kB / 1.028 GB, free: 15.65 MB / 0.8106 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.001467/0.3601, allocations: 412.8 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.3607, allocations: 292.2 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.3607, allocations: 4 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.3609, allocations: 124.4 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3612, allocations: 40.22 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3622, allocations: 0.613 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3627, allocations: 0.7612 MB / 1.03 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.3628, allocations: 47.41 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3628, allocations: 0 / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of Templates: time 0.008912/0.3718, allocations: 4.188 MB / 1.034 GB, free: 9.285 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches