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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009594/0.0009595, allocations: 180.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 0.7872 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.000845, allocations: 99.03 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.715e-05/5.746e-05, allocations: 11.98 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.312, allocations: 152.9 MB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.312, allocations: 86.64 kB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01948/1.332, allocations: 8.132 MB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.332, allocations: 0 / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.824e-05/1.332, allocations: 3.812 kB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005723/1.332, allocations: 480.9 kB / 1.37 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/1.332, allocations: 11.5 kB / 1.37 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/1.333, allocations: 27.16 kB / 1.37 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/1.333, allocations: 268.2 kB / 1.37 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.333, allocations: 14.12 kB / 1.37 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/1.333, allocations: 11.31 kB / 1.37 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/1.333, allocations: 212.3 kB / 1.371 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.333, allocations: 0 / 1.371 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/1.333, allocations: 3.188 kB / 1.371 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/1.333, allocations: 3.875 kB / 1.371 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/1.334, allocations: 0.7354 MB / 1.371 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008238/1.335, allocations: 0.5659 MB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/1.335, allocations: 213.8 kB / 1.372 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/1.335, allocations: 97.53 kB / 1.372 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/1.335, allocations: 27.36 kB / 1.372 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/1.336, allocations: 172.9 kB / 1.372 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.693e-06/1.336, allocations: 0 / 1.372 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004269/1.336, allocations: 265.2 kB / 1.373 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.336, allocations: 139.9 kB / 1.373 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/1.336, allocations: 267.2 kB / 1.373 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.336, allocations: 29.45 kB / 1.373 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/1.337, allocations: 132.5 kB / 1.373 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/1.337, allocations: 104.2 kB / 1.373 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.337, allocations: 7.031 kB / 1.373 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/1.337, allocations: 335.9 kB / 1.374 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/1.337, allocations: 80.73 kB / 1.374 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.337, allocations: 120.7 kB / 1.374 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/1.337, allocations: 95.66 kB / 1.374 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.337, allocations: 4 kB / 1.374 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003374/1.337, allocations: 274.9 kB / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.337, allocations: 11.06 kB / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.338, allocations: 0 / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/1.338, allocations: 0 / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/1.338, allocations: 56.81 kB / 1.374 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.338, allocations: 0 / 1.374 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/1.338, allocations: 33.33 kB / 1.374 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/1.338, allocations: 7.656 kB / 1.374 GB, free: 32.13 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001012/1.338, allocations: 130.1 kB / 1.374 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/1.338, allocations: 23.48 kB / 1.374 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/1.339, allocations: 370.5 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.339, allocations: 6.969 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.339, allocations: 0 / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/1.339, allocations: 0 / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/1.339, allocations: 359.1 kB / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.339, allocations: 0 / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.339, allocations: 48.91 kB / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.339, allocations: 0 / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.339, allocations: 17.3 kB / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.339, allocations: 0 / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.339, allocations: 0 / 1.375 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/1.34, allocations: 313.2 kB / 1.376 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/1.34, allocations: 151.5 kB / 1.376 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/1.34, allocations: 18.53 kB / 1.376 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/1.34, allocations: 20.83 kB / 1.376 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.34, allocations: 20.41 kB / 1.376 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/1.34, allocations: 11.38 kB / 1.376 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001735/1.34, allocations: 217.2 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.34, allocations: 3.938 kB / 1.376 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002877/1.341, allocations: 69.91 kB / 1.376 GB, free: 31.43 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008936/1.341, allocations: 374.2 kB / 1.376 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003434/1.342, allocations: 217.8 kB / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.342, allocations: 0 / 1.377 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/1.342, allocations: 126.8 kB / 1.377 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/1.342, allocations: 35.42 kB / 1.377 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/1.343, allocations: 394.6 kB / 1.377 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/1.343, allocations: 0.7629 MB / 1.378 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003094/1.344, allocations: 152.3 kB / 1.378 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/1.344, allocations: 43.3 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of SimCode: time 3.61e-07/1.344, allocations: 3.969 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.006682/1.35, allocations: 3.017 MB / 1.381 GB, free: 30.04 MB / 0.8386 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches