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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 197 kB / 16.53 MB, free: 6.664 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.585/2.585, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6831/0.6845, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003685/0.6882, allocations: 1.647 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.6901, allocations: 1.171 MB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.03e-05/0.6903, allocations: 7.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.6905, allocations: 27.83 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.691, allocations: 67.62 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.6914, allocations: 143.4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.6918, allocations: 241.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.6919, allocations: 23.97 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.6921, allocations: 87.75 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.6923, allocations: 95.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.6924, allocations: 20 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.6926, allocations: 71.98 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.6928, allocations: 79.8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.6929, allocations: 115.3 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004208/0.6933, allocations: 281.2 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.6933, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6933, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.6934, allocations: 0 / 1.021 GB, free: 14.44 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.000878/0.6942, allocations: 0.5345 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6943, allocations: 8.031 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.6944, allocations: 32.5 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.6947, allocations: 268.9 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.6947, allocations: 12.38 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.6948, allocations: 16.38 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.6951, allocations: 224.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6952, allocations: 3.984 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.6952, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6952, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.6961, allocations: 0.7373 MB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.697, allocations: 0.5742 MB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.6974, allocations: 223.5 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.6976, allocations: 100.8 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.6976, allocations: 23.95 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.698, allocations: 181.4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.698, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006712/0.6987, allocations: 366.7 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.6988, allocations: 132.5 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.6992, allocations: 316.9 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.6992, allocations: 29.7 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.6993, allocations: 128.7 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.6994, allocations: 98.47 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6995, allocations: 73.67 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6997, allocations: 330.8 kB / 1.026 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.6998, allocations: 79.95 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.7, allocations: 124.5 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.7004, allocations: 213.2 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7004, allocations: 0 / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004359/0.7008, allocations: 265.2 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.7008, allocations: 12 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7009, allocations: 0 / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7009, allocations: 0 / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.7011, allocations: 63.91 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7011, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.7013, allocations: 31.7 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.7013, allocations: 12 kB / 1.026 GB, free: 9 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.0001621/0.7015, allocations: 161.7 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.7015, allocations: 23.72 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.7022, allocations: 384.9 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7022, allocations: 4 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7022, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7022, allocations: 7.922 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.7025, allocations: 325.3 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7025, allocations: 4 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.7027, allocations: 59.91 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7027, allocations: 4 kB / 1.027 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7028, allocations: 15.98 kB / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.7028, allocations: 0 / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7028, allocations: 0 / 1.027 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.7032, allocations: 313.7 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.7034, allocations: 148.7 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.7034, allocations: 4 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.7036, allocations: 15.98 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.7037, allocations: 31.91 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.7037, allocations: 15.98 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7039, allocations: 232.4 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7039, allocations: 0 / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003107/0.7042, allocations: 63.89 kB / 1.028 GB, free: 7.125 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.0009615/0.7052, allocations: 411.8 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.7057, allocations: 292.3 kB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7057, allocations: 8 kB / 1.029 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.706, allocations: 132.3 kB / 1.029 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.7062, allocations: 29.8 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.7071, allocations: 0.5065 MB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.7075, allocations: 0.754 MB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000336/0.7079, allocations: 142.9 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.708, allocations: 47.41 kB / 1.03 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.708, allocations: 4 kB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of Templates: time 0.006935/0.7149, allocations: 3.036 MB / 1.033 GB, free: 1.902 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