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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001526/0.001526, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.746/2.746, allocations: 472.6 MB / 0.7447 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 71 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003304/0.3588, allocations: 1.722 MB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.3606, allocations: 1.144 MB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.3607, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.361, allocations: 23.86 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.3612, allocations: 55.81 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.3616, allocations: 135.1 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.3618, allocations: 221.5 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.362, allocations: 19.98 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.3621, allocations: 75.75 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.3623, allocations: 99.7 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.3624, allocations: 11.94 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3625, allocations: 63.98 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.3626, allocations: 75.73 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.961e-05/0.3627, allocations: 103.3 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.363, allocations: 271.4 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.363, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.81e-07/0.363, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.363, allocations: 0 / 1.071 GB, free: 6.773 MB / 0.8262 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.0007236/0.3638, allocations: 0.5384 MB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3638, allocations: 12.03 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.3639, allocations: 24.66 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3641, allocations: 268.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3642, allocations: 12.38 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3642, allocations: 12.38 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.3645, allocations: 226.7 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3646, allocations: 4 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.3646, allocations: 4 kB / 1.073 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3646, allocations: 4 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.3654, allocations: 0.7373 MB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.3663, allocations: 0.578 MB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.3667, allocations: 231.5 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3668, allocations: 100.8 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.3669, allocations: 19.95 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.3672, allocations: 177.4 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.773e-06/0.3672, allocations: 0 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0006389/0.3679, allocations: 366.8 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.347e-05/0.368, allocations: 136.5 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.3682, allocations: 304.9 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3683, allocations: 33.7 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.3684, allocations: 124.7 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.3685, allocations: 110.4 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.3686, allocations: 57.69 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3687, allocations: 338.8 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3688, allocations: 75.95 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.369, allocations: 140.4 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.3693, allocations: 200.7 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3694, allocations: 0 / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004248/0.3698, allocations: 273.8 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3698, allocations: 4 kB / 1.076 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3698, allocations: 3.984 kB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3698, allocations: 11.88 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3701, allocations: 55.91 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.3701, allocations: 4 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3702, allocations: 31.69 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3703, allocations: 15.98 kB / 1.077 GB, free: 1.332 MB / 0.8262 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.000152/0.3704, allocations: 159.3 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.3705, allocations: 27.72 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006398/0.3711, allocations: 384.7 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3712, allocations: 4 kB / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3712, allocations: 0 / 1.077 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3712, allocations: 7.922 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.3715, allocations: 325.3 kB / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3715, allocations: 0 / 1.077 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3717, allocations: 51.97 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3717, allocations: 0 / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3717, allocations: 15.92 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3717, allocations: 0 / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3717, allocations: 0 / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.3722, allocations: 322.3 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.3723, allocations: 140.7 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.3724, allocations: 11.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3725, allocations: 18.09 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.3726, allocations: 23.91 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.3726, allocations: 16 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000207/0.3729, allocations: 236.4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3729, allocations: 4 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000284/0.3732, allocations: 59.94 kB / 1.078 GB, free: 15.46 MB / 0.8419 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.0009009/0.3741, allocations: 406.7 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.3745, allocations: 228 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3745, allocations: 0 / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3747, allocations: 127.8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3749, allocations: 35.11 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.3758, allocations: 0.5695 MB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.3761, allocations: 0.7652 MB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003141/0.3764, allocations: 146.8 kB / 1.08 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.3765, allocations: 39.42 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of SimCode: time 2.044e-06/0.3765, allocations: 0 / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.006482/0.383, allocations: 2.942 MB / 1.083 GB, free: 10.33 MB / 0.8419 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