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.001091/0.001091, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001713/0.001713, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240 MB, free: 5.418 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.708/2.708, allocations: 437.8 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005821/0.0005822, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7446/0.7452, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002183/0.7474, allocations: 1.351 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.7491, allocations: 1.093 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.7492, allocations: 3.938 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.7494, allocations: 27.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.7496, allocations: 51.83 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.75, allocations: 131.6 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.7503, allocations: 209.5 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.7504, allocations: 19.97 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.7505, allocations: 67.83 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.7507, allocations: 87.7 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.7508, allocations: 8 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.7509, allocations: 67.97 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.685e-05/0.751, allocations: 67.81 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.7511, allocations: 53.58 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.7513, allocations: 209.6 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7513, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7513, allocations: 0 / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.7513, allocations: 0 / 1.026 GB, free: 12.58 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.0007298/0.7521, allocations: 495.3 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7521, allocations: 16.5 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.7522, allocations: 31.62 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.7525, allocations: 263.4 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.7525, allocations: 12 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.7525, allocations: 12 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.7529, allocations: 216.7 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7529, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.7529, allocations: 11.98 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7529, allocations: 8 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.7538, allocations: 0.7372 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.7547, allocations: 0.5664 MB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.755, allocations: 227.5 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.7552, allocations: 100.8 kB / 1.028 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.7553, allocations: 27.91 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.7556, allocations: 165.5 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.7556, allocations: 0 / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006598/0.7563, allocations: 362.8 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.7564, allocations: 132.5 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.7567, allocations: 309 kB / 1.029 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.7567, allocations: 41.58 kB / 1.029 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.243e-05/0.7568, allocations: 128.6 kB / 1.029 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.88e-05/0.7569, allocations: 106.5 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.7569, allocations: 4 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7571, allocations: 342.8 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.7572, allocations: 75.95 kB / 1.03 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.7574, allocations: 124.5 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.7576, allocations: 108.4 kB / 1.03 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7576, allocations: 0 / 1.03 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003955/0.758, allocations: 269.2 kB / 1.03 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.758, allocations: 4 kB / 1.03 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.758, allocations: 3.938 kB / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.758, allocations: 0 / 1.03 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.7583, allocations: 59.97 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7583, allocations: 0 / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.7584, allocations: 37.39 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.7585, allocations: 11.98 kB / 1.031 GB, free: 7.375 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.7586, allocations: 165.7 kB / 1.031 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.7587, allocations: 27.62 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.7593, allocations: 380.7 kB / 1.031 GB, free: 6.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7594, allocations: 4 kB / 1.031 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.7594, allocations: 4 kB / 1.031 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.7594, allocations: 0 / 1.031 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.7597, allocations: 329.2 kB / 1.031 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7597, allocations: 4 kB / 1.031 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.7599, allocations: 55.91 kB / 1.031 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7599, allocations: 4 kB / 1.031 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.7599, allocations: 8 kB / 1.032 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.76, allocations: 3.984 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.76, allocations: 0 / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.7604, allocations: 326.1 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.7606, allocations: 144.7 kB / 1.032 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.7606, allocations: 8 kB / 1.032 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.7608, allocations: 19.98 kB / 1.032 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.7608, allocations: 19.97 kB / 1.032 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.7609, allocations: 23.92 kB / 1.032 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002017/0.7611, allocations: 224.5 kB / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7611, allocations: 4 kB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000297/0.7614, allocations: 67.98 kB / 1.032 GB, free: 5.496 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 (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.0009123/0.7623, allocations: 398.9 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003815/0.7627, allocations: 219.7 kB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7627, allocations: 0 / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.7629, allocations: 123.9 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.7632, allocations: 36.61 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008219/0.764, allocations: 0.5596 MB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.7644, allocations: 0.7613 MB / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.7647, allocations: 146.8 kB / 1.034 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.7648, allocations: 39.42 kB / 1.035 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7648, allocations: 0 / 1.035 GB, free: 3.316 MB / 0.7794 GB Notification: Performance of Templates: time 0.006747/0.7715, allocations: 2.834 MB / 1.037 GB, free: 0.5078 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