Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.001401/0.001401, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001119/0.001119, allocations: 172.2 kB / 24.87 MB, free: 8.883 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.9552/0.9552, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.961/1.961, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.BoundaryWithX_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_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithX_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_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.625e-05, allocations: 3.812 kB / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1386/0.1387, allocations: 155.9 MB / 0.965 GB, free: 5.035 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.1429, allocations: 3.532 MB / 0.9684 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.1434, allocations: 63.38 kB / 0.9685 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.144, allocations: 317.5 kB / 0.9688 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.146, allocations: 1.379 MB / 0.9702 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.1481, allocations: 1.663 MB / 0.9718 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.1496, allocations: 2.351 MB / 0.9741 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.1504, allocations: 0.8699 MB / 0.9749 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.1523, allocations: 1.917 MB / 0.9768 GB, free: 8.895 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005114/0.1529, allocations: 0.6036 MB / 0.9774 GB, free: 8.289 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.1529, allocations: 92 kB / 0.9775 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1544, allocations: 1.293 MB / 0.9787 GB, free: 6.902 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.1548, allocations: 0.5805 MB / 0.9793 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.1551, allocations: 494.9 kB / 0.9798 GB, free: 5.836 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.1567, allocations: 2.075 MB / 0.9818 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1567, allocations: 0 / 0.9818 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1567, allocations: 0 / 0.9818 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.1568, allocations: 0 / 0.9818 GB, free: 3.754 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001582/0.1583, allocations: 1.782 MB / 0.9835 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1584, allocations: 8.031 kB / 0.9836 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1594, allocations: 0.5372 MB / 0.9841 GB, free: 1.379 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008753/0.1603, allocations: 0.9324 MB / 0.985 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/0.1603, allocations: 74.06 kB / 0.9851 GB, free: 352 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.086e-05/0.1604, allocations: 108 kB / 0.9852 GB, free: 244 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.1614, allocations: 1.361 MB / 0.9865 GB, free: 14.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1614, allocations: 7.938 kB / 0.9865 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.1615, allocations: 44 kB / 0.9865 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/0.1615, allocations: 61.64 kB / 0.9866 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.1618, allocations: 307 kB / 0.9869 GB, free: 14.21 MB / 0.948 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.003048/0.1649, allocations: 5.268 MB / 0.992 GB, free: 8.781 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1651, allocations: 172.2 kB / 0.9922 GB, free: 8.562 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.1652, allocations: 107 kB / 0.9923 GB, free: 8.441 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.1654, allocations: 83.94 kB / 0.9924 GB, free: 8.359 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1654, allocations: 45.39 kB / 0.9924 GB, free: 8.305 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 2.275e-06/0.1654, allocations: 0 / 0.9924 GB, free: 8.305 MB / 0.948 GB Notification: Performance of matching and sorting (n=28): time 0.0005044/0.1659, allocations: 289.2 kB / 0.9927 GB, free: 8.016 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.166, allocations: 136.5 kB / 0.9928 GB, free: 7.852 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.1664, allocations: 0.6476 MB / 0.9935 GB, free: 7.188 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1664, allocations: 29.7 kB / 0.9935 GB, free: 7.152 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.1667, allocations: 0.6624 MB / 0.9941 GB, free: 6.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.1668, allocations: 107 kB / 0.9942 GB, free: 6.375 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1669, allocations: 75.28 kB / 0.9943 GB, free: 6.293 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.167, allocations: 496.4 kB / 0.9948 GB, free: 5.801 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.489e-05/0.167, allocations: 23.98 kB / 0.9948 GB, free: 5.777 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.1672, allocations: 295 kB / 0.9951 GB, free: 5.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1673, allocations: 176.7 kB / 0.9953 GB, free: 5.195 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1673, allocations: 4 kB / 0.9953 GB, free: 5.191 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002657/0.1676, allocations: 236.9 kB / 0.9955 GB, free: 4.953 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1676, allocations: 12.19 kB / 0.9955 GB, free: 4.941 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1676, allocations: 0 / 0.9955 GB, free: 4.941 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1676, allocations: 4 kB / 0.9955 GB, free: 4.938 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1677, allocations: 55.92 kB / 0.9956 GB, free: 4.883 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1677, allocations: 7.984 kB / 0.9956 GB, free: 4.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1679, allocations: 23.84 kB / 0.9956 GB, free: 4.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1679, allocations: 12 kB / 0.9956 GB, free: 4.84 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0001569/0.1681, allocations: 184.4 kB / 0.9958 GB, free: 4.648 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1682, allocations: 91.48 kB / 0.9959 GB, free: 4.559 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.1684, allocations: 211.9 kB / 0.9961 GB, free: 4.332 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1684, allocations: 4 kB / 0.9961 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1684, allocations: 0 / 0.9961 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1684, allocations: 96 / 0.9961 GB, free: 4.328 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1698, allocations: 1.564 MB / 0.9976 GB, free: 2.617 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1698, allocations: 7.984 kB / 0.9976 GB, free: 2.609 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.837e-05/0.1699, allocations: 56.72 kB / 0.9977 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1699, allocations: 8 kB / 0.9977 GB, free: 2.547 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1699, allocations: 16 kB / 0.9977 GB, free: 2.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.1699, allocations: 11.94 kB / 0.9977 GB, free: 2.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1699, allocations: 11.94 kB / 0.9977 GB, free: 2.508 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.1702, allocations: 463.9 kB / 0.9981 GB, free: 1.926 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1704, allocations: 111.4 kB / 0.9983 GB, free: 1.816 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.1704, allocations: 15.98 kB / 0.9983 GB, free: 1.801 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1705, allocations: 15.94 kB / 0.9983 GB, free: 1.785 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.1706, allocations: 47.78 kB / 0.9983 GB, free: 1.738 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.1706, allocations: 15.94 kB / 0.9983 GB, free: 1.723 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002347/0.1708, allocations: 414.8 kB / 0.9987 GB, free: 1.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1708, allocations: 0 / 0.9987 GB, free: 1.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005557/0.1714, allocations: 386.6 kB / 0.9991 GB, free: 0.9414 MB / 0.948 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.0006059/0.172, allocations: 422.5 kB / 0.9995 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1722, allocations: 143.6 kB / 0.9996 GB, free: 384 kB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1722, allocations: 4.062 kB / 0.9997 GB, free: 380 kB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.1722, allocations: 81.8 kB / 0.9997 GB, free: 296 kB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.1733, allocations: 500 kB / 1 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1751, allocations: 1.888 MB / 1.002 GB, free: 13.78 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.1753, allocations: 285.5 kB / 1.002 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.1755, allocations: 109.1 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.1761, allocations: 433.8 kB / 1.003 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.1761, allocations: 0 / 1.003 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of Templates: time 0.02008/0.1962, allocations: 18.11 MB / 1.021 GB, free: 11.3 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_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: 5.6744513479061425]