Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.009742/0.009742, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.002389/0.002389, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 472.6 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.91 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8363, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002718/0.8391, allocations: 1.659 MB / 1.227 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.8407, allocations: 1.18 MB / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.266e-05/0.8407, allocations: 0 / 1.228 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.8409, allocations: 23.78 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.8412, allocations: 71.62 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.8415, allocations: 146.8 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.8418, allocations: 249.5 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.84e-05/0.8419, allocations: 16 kB / 1.229 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.842, allocations: 87.75 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.8422, allocations: 96.95 kB / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.8423, allocations: 16 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.8424, allocations: 79.95 kB / 1.229 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.749e-05/0.8425, allocations: 83.81 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.8426, allocations: 107.3 kB / 1.229 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.843, allocations: 291.3 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.843, allocations: 0 / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.843, allocations: 0 / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.843, allocations: 0 / 1.23 GB, free: 9.434 MB / 0.9512 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.000744/0.8437, allocations: 0.5496 MB / 1.23 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.8438, allocations: 8.031 kB / 1.23 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.8439, allocations: 28.75 kB / 1.23 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.8441, allocations: 277 kB / 1.23 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.8441, allocations: 8.375 kB / 1.23 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.8442, allocations: 16.38 kB / 1.23 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.8445, allocations: 216.9 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.8445, allocations: 0 / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.8446, allocations: 8 kB / 1.231 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.8446, allocations: 4 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.8454, allocations: 0.7489 MB / 1.231 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008283/0.8462, allocations: 0.5706 MB / 1.232 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.8466, allocations: 231.9 kB / 1.232 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.8467, allocations: 96.81 kB / 1.232 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.8468, allocations: 23.97 kB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.8471, allocations: 174 kB / 1.232 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.8471, allocations: 0 / 1.232 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.0006275/0.8478, allocations: 366.9 kB / 1.233 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.8479, allocations: 144.4 kB / 1.233 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.8482, allocations: 308.9 kB / 1.233 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.8482, allocations: 29.7 kB / 1.233 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.8483, allocations: 124.7 kB / 1.233 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.041e-05/0.8484, allocations: 119 kB / 1.234 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-05/0.8485, allocations: 69.69 kB / 1.234 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.8486, allocations: 338.8 kB / 1.234 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.8487, allocations: 75.95 kB / 1.234 GB, free: 4.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.8489, allocations: 124.5 kB / 1.234 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.8492, allocations: 209.2 kB / 1.234 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8492, allocations: 0 / 1.234 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004163/0.8497, allocations: 277.3 kB / 1.235 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8497, allocations: 8 kB / 1.235 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.8497, allocations: 0 / 1.235 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.8497, allocations: 0 / 1.235 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/0.8499, allocations: 59.91 kB / 1.235 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.8499, allocations: 0 / 1.235 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.8501, allocations: 35.7 kB / 1.235 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.8501, allocations: 12 kB / 1.235 GB, free: 3.969 MB / 0.9512 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.00014/0.8503, allocations: 157.8 kB / 1.235 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.8503, allocations: 27.86 kB / 1.235 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.851, allocations: 380.9 kB / 1.235 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.851, allocations: 8 kB / 1.235 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.851, allocations: 0 / 1.235 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.851, allocations: 3.938 kB / 1.235 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.8513, allocations: 333.3 kB / 1.236 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8513, allocations: 0 / 1.236 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.8515, allocations: 55.91 kB / 1.236 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.8515, allocations: 0 / 1.236 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.8515, allocations: 12 kB / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8515, allocations: 0 / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8515, allocations: 0 / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.8519, allocations: 325.8 kB / 1.236 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.8521, allocations: 140.8 kB / 1.236 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.8521, allocations: 11.94 kB / 1.236 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.8523, allocations: 15.98 kB / 1.236 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.8523, allocations: 27.91 kB / 1.236 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.8524, allocations: 15.98 kB / 1.236 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001929/0.8526, allocations: 228.5 kB / 1.236 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8526, allocations: 4 kB / 1.236 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002764/0.8529, allocations: 63.92 kB / 1.236 GB, free: 2.086 MB / 0.9512 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.0008827/0.8537, allocations: 411.7 kB / 1.237 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.8541, allocations: 228.3 kB / 1.237 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8541, allocations: 0 / 1.237 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.8543, allocations: 119.9 kB / 1.237 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.8546, allocations: 38.75 kB / 1.237 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.8553, allocations: 0.5046 MB / 1.238 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8556, allocations: 0.7613 MB / 1.238 GB, free: 132 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.8559, allocations: 142.9 kB / 1.239 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.856, allocations: 43.36 kB / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.856, allocations: 0 / 1.239 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.00602/0.862, allocations: 3.077 MB / 1.242 GB, free: 12.89 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches