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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007642/0.007642, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001788/0.001788, allocations: 193.2 kB / 16.79 MB, free: 5.809 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.405/1.405, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437 MB / 0.7106 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.88 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6219/0.6234, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003568/0.627, allocations: 1.725 MB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.629, allocations: 1.144 MB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.6292, allocations: 4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.6294, allocations: 15.92 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.6298, allocations: 59.77 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.6303, allocations: 143.2 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.6306, allocations: 217.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.6307, allocations: 23.97 kB / 1.021 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.6308, allocations: 79.75 kB / 1.021 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.6311, allocations: 97.36 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.6311, allocations: 12 kB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.6313, allocations: 63.98 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.6314, allocations: 75.8 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.6316, allocations: 107.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.6319, allocations: 197.6 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6319, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6319, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6319, allocations: 0 / 1.021 GB, free: 14.9 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.0008744/0.6328, allocations: 0.5384 MB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6328, allocations: 19.98 kB / 1.022 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.185e-05/0.6329, allocations: 28.56 kB / 1.022 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.6333, allocations: 268.8 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.6333, allocations: 12.38 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.6334, allocations: 12.38 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.6337, allocations: 224.8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6338, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.6338, allocations: 8 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.6338, allocations: 4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.6347, allocations: 0.7334 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.6357, allocations: 0.5742 MB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.636, allocations: 232 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.6362, allocations: 100.8 kB / 1.024 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.6363, allocations: 19.97 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.6367, allocations: 169.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.6367, allocations: 0 / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006951/0.6374, allocations: 370.8 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.407e-05/0.6375, allocations: 132.5 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.6378, allocations: 316.9 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.6378, allocations: 33.7 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.6379, allocations: 120.7 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.638, allocations: 114.4 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.6382, allocations: 61.69 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6383, allocations: 334.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.6385, allocations: 79.95 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.6387, allocations: 124.5 kB / 1.026 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/0.639, allocations: 217.2 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.639, allocations: 4 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004461/0.6394, allocations: 269.3 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6395, allocations: 4 kB / 1.026 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6395, allocations: 3.938 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6395, allocations: 7.938 kB / 1.026 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.6397, allocations: 59.91 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6397, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.6399, allocations: 39.7 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.6399, allocations: 8 kB / 1.026 GB, free: 9.445 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.0001785/0.6401, allocations: 169.7 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.6402, allocations: 27.62 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.6409, allocations: 377 kB / 1.027 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6409, allocations: 4 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6409, allocations: 4 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6409, allocations: 3.938 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.6412, allocations: 329.3 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6413, allocations: 0 / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.6414, allocations: 59.91 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.6414, allocations: 0 / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.6415, allocations: 8 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.6415, allocations: 0 / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6415, allocations: 4 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.642, allocations: 317.7 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.6421, allocations: 144.7 kB / 1.028 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.6422, allocations: 8 kB / 1.028 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.6423, allocations: 15.98 kB / 1.028 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.6424, allocations: 27.91 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.6424, allocations: 15.98 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002103/0.6426, allocations: 232.5 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3e-07/0.6427, allocations: 0 / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003038/0.643, allocations: 67.89 kB / 1.028 GB, free: 7.57 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.001043/0.644, allocations: 406.4 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.6445, allocations: 228.3 kB / 1.029 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6445, allocations: 0 / 1.029 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.6447, allocations: 123.8 kB / 1.029 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.645, allocations: 39.44 kB / 1.029 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.6459, allocations: 0.6154 MB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.6463, allocations: 0.7613 MB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.6464, allocations: 51.41 kB / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6464, allocations: 0 / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of Templates: time 0.007546/0.654, allocations: 4.17 MB / 1.034 GB, free: 1.289 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/jenkins1/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