Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.0009522/0.0009522, 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.0009347/0.0009347, allocations: 171 kB / 24.87 MB, free: 8.832 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.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.771/1.771, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.498e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1655/0.1655, allocations: 145.3 MB / 0.9302 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1688, allocations: 2.753 MB / 0.9329 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002846/0.169, allocations: 31.75 kB / 0.9329 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.1695, allocations: 186.6 kB / 0.9331 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0009414/0.1705, allocations: 0.7498 MB / 0.9338 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.1711, allocations: 0.5533 MB / 0.9344 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1723, allocations: 1.551 MB / 0.9359 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.1726, allocations: 394.3 kB / 0.9362 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.1737, allocations: 0.8084 MB / 0.937 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.1741, allocations: 450.7 kB / 0.9375 GB, free: 3 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.1742, allocations: 52 kB / 0.9375 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003524/0.1745, allocations: 347.1 kB / 0.9378 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.1747, allocations: 255.3 kB / 0.9381 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.1749, allocations: 251.4 kB / 0.9383 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1755, allocations: 0.6971 MB / 0.939 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1755, allocations: 0 / 0.939 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1755, allocations: 0 / 0.939 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.1755, allocations: 0 / 0.939 GB, free: 1.414 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008303/0.1763, allocations: 0.9393 MB / 0.9399 GB, free: 448 kB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.1764, allocations: 8.031 kB / 0.9399 GB, free: 440 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006108/0.177, allocations: 216.1 kB / 0.9401 GB, free: 224 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.1774, allocations: 453.1 kB / 0.9406 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1775, allocations: 33.12 kB / 0.9406 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.1775, allocations: 52 kB / 0.9407 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.1779, allocations: 0.4995 MB / 0.9411 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1779, allocations: 4 kB / 0.9411 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1779, allocations: 16 kB / 0.9412 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.1779, allocations: 13 kB / 0.9412 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.1781, allocations: 142.9 kB / 0.9413 GB, free: 14.93 MB / 0.9011 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.001199/0.1793, allocations: 1.124 MB / 0.9424 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1795, allocations: 155.1 kB / 0.9426 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.1796, allocations: 75.64 kB / 0.9426 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.1797, allocations: 31.92 kB / 0.9427 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1797, allocations: 45.38 kB / 0.9427 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.1797, allocations: 0 / 0.9427 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.0007969/0.1805, allocations: 0.5467 MB / 0.9432 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.1805, allocations: 55.41 kB / 0.9433 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1807, allocations: 378.6 kB / 0.9436 GB, free: 12.41 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.1808, allocations: 37.7 kB / 0.9437 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1809, allocations: 323.1 kB / 0.944 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.181, allocations: 122.9 kB / 0.9441 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.181, allocations: 79.28 kB / 0.9442 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1812, allocations: 0.5234 MB / 0.9447 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.1812, allocations: 35.75 kB / 0.9447 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1814, allocations: 184.8 kB / 0.9449 GB, free: 11.04 MB / 0.9011 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.1817, allocations: 293.5 kB / 0.9452 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1817, allocations: 0 / 0.9452 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000265/0.1819, allocations: 244.9 kB / 0.9454 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.182, allocations: 8.562 kB / 0.9454 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.182, allocations: 0 / 0.9454 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.182, allocations: 8.188 kB / 0.9454 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.1821, allocations: 67.91 kB / 0.9455 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1821, allocations: 4 kB / 0.9455 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1823, allocations: 15.95 kB / 0.9455 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1823, allocations: 8 kB / 0.9455 GB, free: 10.38 MB / 0.9011 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001126/0.1824, allocations: 184.4 kB / 0.9457 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.1825, allocations: 51.77 kB / 0.9458 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.1825, allocations: 52.19 kB / 0.9458 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1825, allocations: 4 kB / 0.9458 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.1825, allocations: 7.984 kB / 0.9458 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001876/0.1827, allocations: 256.6 kB / 0.9461 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.1835, allocations: 0.8507 MB / 0.9469 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1835, allocations: 8.031 kB / 0.9469 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.1837, allocations: 71.91 kB / 0.947 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1837, allocations: 4 kB / 0.947 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.1837, allocations: 15.94 kB / 0.947 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1837, allocations: 11.97 kB / 0.947 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.1837, allocations: 11.88 kB / 0.947 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.1841, allocations: 0.5299 MB / 0.9475 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.1842, allocations: 87.69 kB / 0.9476 GB, free: 8.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1842, allocations: 15.98 kB / 0.9476 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1844, allocations: 15.94 kB / 0.9476 GB, free: 7.98 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1844, allocations: 31.89 kB / 0.9477 GB, free: 7.949 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1845, allocations: 19.94 kB / 0.9477 GB, free: 7.93 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000125/0.1846, allocations: 243 kB / 0.9479 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1846, allocations: 0 / 0.9479 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003217/0.1849, allocations: 151.9 kB / 0.9481 GB, free: 7.543 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.0001849/0.1851, allocations: 149.3 kB / 0.9482 GB, free: 7.391 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1853, allocations: 163.2 kB / 0.9484 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1853, allocations: 0 / 0.9484 GB, free: 7.227 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.685e-05/0.1854, allocations: 96.56 kB / 0.9485 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.1861, allocations: 298.1 kB / 0.9487 GB, free: 6.844 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1872, allocations: 1.001 MB / 0.9497 GB, free: 5.738 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.1873, allocations: 149.7 kB / 0.9499 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.1875, allocations: 76.23 kB / 0.9499 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004122/0.1879, allocations: 298 kB / 0.9502 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of SimCode: time 8.02e-07/0.1879, allocations: 0 / 0.9502 GB, free: 5.203 MB / 0.9011 GB Notification: Performance of Templates: time 0.01155/0.1995, allocations: 10.58 MB / 0.9605 GB, free: 10.91 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.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.541347073856741]