Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9697/0.9697, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.355/2.355, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bouMoiAir.Xi.[0-9,]+.|bouMoiAirCO2.Xi.[0-9,]+.|bouProFluGas.Xi.[0-9,]+.|bouNatGas.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.984 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.679e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1298/0.1299, allocations: 155.8 MB / 1.042 GB, free: 13.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.1347, allocations: 3.463 MB / 1.045 GB, free: 9.867 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.1359, allocations: 59.44 kB / 1.045 GB, free: 9.809 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.1366, allocations: 309.5 kB / 1.046 GB, free: 9.504 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.1396, allocations: 1.368 MB / 1.047 GB, free: 8.129 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.143, allocations: 1.64 MB / 1.049 GB, free: 6.484 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002603/0.1456, allocations: 2.277 MB / 1.051 GB, free: 4.199 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.1468, allocations: 0.7383 MB / 1.052 GB, free: 3.438 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.1496, allocations: 1.893 MB / 1.053 GB, free: 1.539 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008357/0.1504, allocations: 0.5959 MB / 1.054 GB, free: 0.9414 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.1505, allocations: 88 kB / 1.054 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4423/0.5929, allocations: 1.287 MB / 1.055 GB, free: 52.25 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.5936, allocations: 0.5693 MB / 1.056 GB, free: 52.25 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009284/0.5945, allocations: 497.2 kB / 1.056 GB, free: 52.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.5978, allocations: 2.044 MB / 1.058 GB, free: 52.22 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5978, allocations: 0.8438 kB / 1.058 GB, free: 52.22 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5978, allocations: 0 / 1.058 GB, free: 52.22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.758e-05/0.5979, allocations: 2.906 kB / 1.058 GB, free: 52.22 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001905/0.5998, allocations: 1.742 MB / 1.06 GB, free: 51.29 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5998, allocations: 9.219 kB / 1.06 GB, free: 51.29 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.601, allocations: 0.5362 MB / 1.061 GB, free: 51.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.6019, allocations: 0.8835 MB / 1.061 GB, free: 50.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.602, allocations: 85.72 kB / 1.062 GB, free: 50.87 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.6021, allocations: 102.9 kB / 1.062 GB, free: 50.87 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009561/0.603, allocations: 1.354 MB / 1.063 GB, free: 49.92 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.603, allocations: 3 kB / 1.063 GB, free: 49.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.6031, allocations: 48.78 kB / 1.063 GB, free: 49.92 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.934e-05/0.6031, allocations: 59.41 kB / 1.063 GB, free: 49.92 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.6036, allocations: 299.6 kB / 1.063 GB, free: 49.91 MB / 1.01 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.6065, allocations: 5.243 MB / 1.068 GB, free: 46.22 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.6068, allocations: 177.7 kB / 1.069 GB, free: 46.08 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.6068, allocations: 93.45 kB / 1.069 GB, free: 46.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.607, allocations: 95.58 kB / 1.069 GB, free: 46.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.6071, allocations: 45.92 kB / 1.069 GB, free: 45.99 MB / 1.01 GB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.6071, allocations: 0.6875 kB / 1.069 GB, free: 45.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=28): time 0.0005304/0.6076, allocations: 291.5 kB / 1.069 GB, free: 45.91 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.6076, allocations: 135.2 kB / 1.069 GB, free: 45.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.608, allocations: 0.6332 MB / 1.07 GB, free: 45.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.608, allocations: 32.02 kB / 1.07 GB, free: 45.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.6083, allocations: 0.6479 MB / 1.071 GB, free: 45.21 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.6083, allocations: 107.2 kB / 1.071 GB, free: 45.14 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.6084, allocations: 80.55 kB / 1.071 GB, free: 45.11 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.6084, allocations: 0.4925 MB / 1.071 GB, free: 44.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.6085, allocations: 26.03 kB / 1.071 GB, free: 44.63 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.6086, allocations: 318.3 kB / 1.072 GB, free: 44.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.6087, allocations: 195.7 kB / 1.072 GB, free: 44.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6087, allocations: 3.969 kB / 1.072 GB, free: 44.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002563/0.609, allocations: 256.8 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.609, allocations: 6.469 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.609, allocations: 3.719 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.609, allocations: 9.781 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.6092, allocations: 56.69 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.6092, allocations: 6.812 kB / 1.072 GB, free: 44.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.6093, allocations: 26.14 kB / 1.072 GB, free: 44.08 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6094, allocations: 17.88 kB / 1.072 GB, free: 44.08 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001489/0.6095, allocations: 177 kB / 1.072 GB, free: 43.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/0.6096, allocations: 90.98 kB / 1.072 GB, free: 43.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.6098, allocations: 210.3 kB / 1.073 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.6098, allocations: 4.156 kB / 1.073 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6098, allocations: 3.328 kB / 1.073 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6098, allocations: 3.938 kB / 1.073 GB, free: 43.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.6112, allocations: 1.544 MB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6112, allocations: 7.812 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.381e-05/0.6113, allocations: 57.45 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.6113, allocations: 10.7 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6113, allocations: 15.59 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.6113, allocations: 14.7 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6113, allocations: 6.219 kB / 1.074 GB, free: 42.85 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.6116, allocations: 468.6 kB / 1.075 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-05/0.6117, allocations: 110.9 kB / 1.075 GB, free: 42.39 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.6117, allocations: 15.34 kB / 1.075 GB, free: 42.39 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6118, allocations: 12.44 kB / 1.075 GB, free: 42.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.6119, allocations: 40.53 kB / 1.075 GB, free: 42.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.6119, allocations: 11.86 kB / 1.075 GB, free: 42.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002184/0.6121, allocations: 411.2 kB / 1.075 GB, free: 42.25 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6121, allocations: 1 kB / 1.075 GB, free: 42.25 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008565/0.613, allocations: 380.3 kB / 1.076 GB, free: 42.15 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0006332/0.6136, allocations: 430.9 kB / 1.076 GB, free: 42.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.6138, allocations: 146.1 kB / 1.076 GB, free: 42.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6138, allocations: 0.8438 kB / 1.076 GB, free: 42.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.6139, allocations: 85.41 kB / 1.076 GB, free: 42.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.6149, allocations: 464 kB / 1.077 GB, free: 41.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6167, allocations: 1.842 MB / 1.078 GB, free: 40.89 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.6168, allocations: 277.5 kB / 1.079 GB, free: 40.82 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.6171, allocations: 103.7 kB / 1.079 GB, free: 40.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.6176, allocations: 428.7 kB / 1.079 GB, free: 40.73 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.6176, allocations: 0 / 1.079 GB, free: 40.73 MB / 1.01 GB Notification: Performance of Templates: time 0.02376/0.6414, allocations: 17.19 MB / 1.096 GB, free: 39.11 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.147919443901628]