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.00137/0.001371, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001661/0.001661, allocations: 193.3 kB / 16.14 MB, free: 6.711 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.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.691/2.691, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001426, allocations: 67.89 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7386, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003543/0.7422, allocations: 1.709 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.7441, allocations: 1.144 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.7442, allocations: 3.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.7444, allocations: 27.92 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.7447, allocations: 55.75 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.745, allocations: 136.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.7453, allocations: 225.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.7454, allocations: 27.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.7457, allocations: 75.77 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.746, allocations: 93.59 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.746, allocations: 8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.7462, allocations: 75.95 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.7463, allocations: 67.8 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.7465, allocations: 103.3 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.7469, allocations: 269.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7469, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7469, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.7469, allocations: 4 kB / 1.021 GB, free: 14.77 MB / 0.7794 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.0009537/0.7479, allocations: 0.5383 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.7479, allocations: 12.03 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.748, allocations: 28.56 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.7484, allocations: 264.8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.7484, allocations: 12.38 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.7485, allocations: 16.36 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.7489, allocations: 224.9 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.7489, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.749, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.749, allocations: 8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.75, allocations: 0.7373 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.751, allocations: 0.5781 MB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.7514, allocations: 231.9 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.7516, allocations: 100.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.7516, allocations: 19.97 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.752, allocations: 173.5 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 4.889e-06/0.752, allocations: 4 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.000686/0.7527, allocations: 362.8 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.7528, allocations: 136.5 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.7532, allocations: 308.9 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.7533, allocations: 33.7 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.7534, allocations: 128.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.7535, allocations: 106.5 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.7536, allocations: 65.69 kB / 1.024 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7538, allocations: 334.8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.7541, allocations: 79.95 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.7543, allocations: 124.4 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.7546, allocations: 213.2 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7546, allocations: 0 / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004746/0.7551, allocations: 273.1 kB / 1.025 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.7552, allocations: 4 kB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7552, allocations: 0 / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7552, allocations: 8 kB / 1.025 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.7554, allocations: 59.91 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7554, allocations: 4 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.7556, allocations: 33.53 kB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.7556, allocations: 15.98 kB / 1.026 GB, free: 9.316 MB / 0.7794 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.0001757/0.7558, allocations: 161.7 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.7559, allocations: 27.62 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006834/0.7566, allocations: 381 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7566, allocations: 4 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7566, allocations: 0 / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.7566, allocations: 7.969 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.757, allocations: 325.3 kB / 1.026 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.757, allocations: 0 / 1.026 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.7572, allocations: 63.91 kB / 1.026 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.7572, allocations: 0 / 1.026 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.7572, allocations: 8 kB / 1.026 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7572, allocations: 11.98 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7572, allocations: 0 / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.7577, allocations: 313.7 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.7579, allocations: 140.7 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.758, allocations: 8 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.7582, allocations: 11.98 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.7582, allocations: 31.89 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.7583, allocations: 16 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002186/0.7585, allocations: 236.4 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7585, allocations: 0 / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003167/0.7588, allocations: 63.91 kB / 1.027 GB, free: 7.445 MB / 0.7794 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.001042/0.7599, allocations: 408.7 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.7603, allocations: 224.3 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7603, allocations: 0 / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.7605, allocations: 123.9 kB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.7609, allocations: 42.69 kB / 1.028 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.7619, allocations: 0.5874 MB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.7623, allocations: 0.7535 MB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.7626, allocations: 146.9 kB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.7627, allocations: 39.42 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.7627, allocations: 0 / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of Templates: time 0.007332/0.7701, allocations: 2.939 MB / 1.032 GB, free: 2.309 MB / 0.7794 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=480 -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/jenkins/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