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.0008974/0.0008974, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009456/0.0009456, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.904/1.904, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.092e-06/1.092e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.359e-05, allocations: 4.281 kB / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1358/0.1359, allocations: 158.1 MB / 0.9145 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004009/0.1399, allocations: 3.612 MB / 0.918 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.1403, allocations: 63.38 kB / 0.918 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.1408, allocations: 301.5 kB / 0.9183 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.1426, allocations: 1.387 MB / 0.9197 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.1446, allocations: 1.644 MB / 0.9213 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.1462, allocations: 2.34 MB / 0.9236 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007972/0.147, allocations: 0.86 MB / 0.9244 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.1489, allocations: 1.866 MB / 0.9262 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.1494, allocations: 0.5686 MB / 0.9268 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.1495, allocations: 92 kB / 0.9269 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.1511, allocations: 1.317 MB / 0.9282 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.1514, allocations: 0.5843 MB / 0.9287 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.1517, allocations: 494.9 kB / 0.9292 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1533, allocations: 2.072 MB / 0.9312 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1533, allocations: 0 / 0.9312 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1533, allocations: 0 / 0.9312 GB, free: 6.828 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1533, allocations: 4 kB / 0.9312 GB, free: 6.824 MB / 0.8855 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.001241/0.1546, allocations: 1.611 MB / 0.9328 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1546, allocations: 8.031 kB / 0.9328 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1557, allocations: 0.4989 MB / 0.9333 GB, free: 4.672 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.1565, allocations: 0.7815 MB / 0.9341 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.1565, allocations: 78.06 kB / 0.9341 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.1566, allocations: 112 kB / 0.9343 GB, free: 3.676 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009085/0.1575, allocations: 1.32 MB / 0.9355 GB, free: 2.133 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.1575, allocations: 7.938 kB / 0.9355 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.1576, allocations: 44 kB / 0.9356 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.1576, allocations: 61.64 kB / 0.9356 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.158, allocations: 375.6 kB / 0.936 GB, free: 1.633 MB / 0.8855 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.002596/0.1606, allocations: 3.795 MB / 0.9397 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.1609, allocations: 276.8 kB / 0.94 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.1609, allocations: 92.19 kB / 0.9401 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.1612, allocations: 125.2 kB / 0.9402 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1612, allocations: 38.56 kB / 0.9402 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 1.893e-06/0.1612, allocations: 4 kB / 0.9402 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28): time 0.00045/0.1616, allocations: 229.3 kB / 0.9404 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.1617, allocations: 136.5 kB / 0.9406 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003723/0.1621, allocations: 0.5663 MB / 0.9411 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1621, allocations: 37.64 kB / 0.9412 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1623, allocations: 489.6 kB / 0.9416 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.1624, allocations: 103.1 kB / 0.9417 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.1624, allocations: 65.8 kB / 0.9418 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.1625, allocations: 321.9 kB / 0.9421 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.1626, allocations: 34.77 kB / 0.9421 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1627, allocations: 258.8 kB / 0.9424 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1629, allocations: 162.5 kB / 0.9425 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1629, allocations: 0 / 0.9425 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002107/0.1631, allocations: 192.6 kB / 0.9427 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1631, allocations: 8 kB / 0.9427 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1631, allocations: 4 kB / 0.9427 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1631, allocations: 0 / 0.9427 GB, free: 10.35 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1632, allocations: 51.92 kB / 0.9428 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1632, allocations: 8.828 kB / 0.9428 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1634, allocations: 23.89 kB / 0.9428 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1634, allocations: 16.19 kB / 0.9428 GB, free: 10.25 MB / 0.9011 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.0001442/0.1635, allocations: 136.5 kB / 0.943 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.693e-05/0.1636, allocations: 55.94 kB / 0.943 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1638, allocations: 197.6 kB / 0.9432 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1638, allocations: 4 kB / 0.9432 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1638, allocations: 0 / 0.9432 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1638, allocations: 0 / 0.9432 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.1651, allocations: 1.384 MB / 0.9446 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1651, allocations: 4 kB / 0.9446 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1652, allocations: 47.92 kB / 0.9446 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1652, allocations: 8 kB / 0.9446 GB, free: 8.266 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1652, allocations: 12 kB / 0.9446 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.1652, allocations: 15.92 kB / 0.9446 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.1652, allocations: 11.94 kB / 0.9446 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1655, allocations: 405.1 kB / 0.945 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.1656, allocations: 103.4 kB / 0.9451 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1656, allocations: 16 kB / 0.9451 GB, free: 7.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1657, allocations: 11.94 kB / 0.9452 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.1658, allocations: 43.72 kB / 0.9452 GB, free: 7.535 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1658, allocations: 16 kB / 0.9452 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001975/0.166, allocations: 292.5 kB / 0.9455 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.1e-08/0.166, allocations: 0 / 0.9455 GB, free: 7.234 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004695/0.1665, allocations: 386.6 kB / 0.9459 GB, free: 6.855 MB / 0.9011 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.0005742/0.167, allocations: 397.6 kB / 0.9462 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1672, allocations: 136.5 kB / 0.9464 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1672, allocations: 8 kB / 0.9464 GB, free: 6.309 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/0.1673, allocations: 78.31 kB / 0.9465 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.1683, allocations: 496.8 kB / 0.9469 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.17, allocations: 1.858 MB / 0.9487 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.1702, allocations: 285.5 kB / 0.949 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.1704, allocations: 101.2 kB / 0.9491 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.171, allocations: 367 kB / 0.9495 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.171, allocations: 0 / 0.9495 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of Templates: time 0.01991/0.1909, allocations: 17.95 MB / 0.967 GB, free: 1.539 MB / 0.9167 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 -s gbode -gbm=radauIIA3 -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.528149699792266]