Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001482/0.001482, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001566/0.001566, allocations: 169 kB / 24.28 MB, free: 276 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 0.988/0.988, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.947/1.947, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.636e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1491/0.1492, allocations: 167.2 MB / 0.9748 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.1535, allocations: 3.434 MB / 0.9781 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.154, allocations: 31.69 kB / 0.9782 GB, free: 6.859 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.1547, allocations: 302 kB / 0.9784 GB, free: 6.562 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.1568, allocations: 1.088 MB / 0.9795 GB, free: 5.469 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.158, allocations: 0.6971 MB / 0.9802 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.1594, allocations: 1.572 MB / 0.9817 GB, free: 3.191 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.1599, allocations: 395.7 kB / 0.9821 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.161, allocations: 0.9114 MB / 0.983 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00081/0.1618, allocations: 453.3 kB / 0.9834 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.198e-05/0.1618, allocations: 56 kB / 0.9835 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.1629, allocations: 0.701 MB / 0.9842 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1631, allocations: 267.2 kB / 0.9844 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.1634, allocations: 239.5 kB / 0.9846 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.1646, allocations: 0.8763 MB / 0.9855 GB, free: 15.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1646, allocations: 0 / 0.9855 GB, free: 15.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.033e-06/0.1646, allocations: 0 / 0.9855 GB, free: 15.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.1646, allocations: 0 / 0.9855 GB, free: 15.32 MB / 0.948 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.001171/0.1658, allocations: 0.9622 MB / 0.9864 GB, free: 14.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1658, allocations: 8.031 kB / 0.9864 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.1667, allocations: 235.2 kB / 0.9867 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000714/0.1674, allocations: 477.4 kB / 0.9871 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1675, allocations: 33 kB / 0.9872 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.1675, allocations: 51.94 kB / 0.9872 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.168, allocations: 0.5519 MB / 0.9877 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.126e-05/0.1681, allocations: 3.953 kB / 0.9878 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/0.1682, allocations: 16 kB / 0.9878 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.1682, allocations: 17 kB / 0.9878 GB, free: 12.85 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1685, allocations: 181.8 kB / 0.988 GB, free: 12.67 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.001519/0.17, allocations: 1.124 MB / 0.9891 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.1703, allocations: 175.2 kB / 0.9892 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1704, allocations: 79.64 kB / 0.9893 GB, free: 11.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.1705, allocations: 27.98 kB / 0.9893 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1705, allocations: 41.33 kB / 0.9894 GB, free: 11.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/0.1705, allocations: 4 kB / 0.9894 GB, free: 11.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001329/0.1719, allocations: 0.6662 MB / 0.99 GB, free: 10.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1719, allocations: 55.41 kB / 0.9901 GB, free: 10.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.1722, allocations: 386.6 kB / 0.9904 GB, free: 9.992 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1722, allocations: 33.7 kB / 0.9905 GB, free: 9.953 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.1724, allocations: 319.2 kB / 0.9908 GB, free: 9.637 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.1724, allocations: 123 kB / 0.9909 GB, free: 9.516 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.1725, allocations: 75.31 kB / 0.991 GB, free: 9.434 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1727, allocations: 0.5274 MB / 0.9915 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.1727, allocations: 47.97 kB / 0.9915 GB, free: 8.848 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1729, allocations: 184.9 kB / 0.9917 GB, free: 8.625 MB / 0.948 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.0004969/0.1734, allocations: 341.3 kB / 0.992 GB, free: 8.266 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1734, allocations: 0 / 0.992 GB, free: 8.266 MB / 0.948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003298/0.1737, allocations: 269.1 kB / 0.9923 GB, free: 7.996 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1737, allocations: 8 kB / 0.9923 GB, free: 7.988 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1738, allocations: 0 / 0.9923 GB, free: 7.988 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1738, allocations: 7.938 kB / 0.9923 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.174, allocations: 75.84 kB / 0.9924 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.174, allocations: 4 kB / 0.9924 GB, free: 7.902 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.1741, allocations: 12 kB / 0.9924 GB, free: 7.891 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1742, allocations: 8 kB / 0.9924 GB, free: 7.883 MB / 0.948 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.0001419/0.1743, allocations: 184.7 kB / 0.9926 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.1744, allocations: 51.77 kB / 0.9926 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.1744, allocations: 60.23 kB / 0.9927 GB, free: 7.582 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1744, allocations: 7.938 kB / 0.9927 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1745, allocations: 0 / 0.9927 GB, free: 7.574 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005654/0.175, allocations: 264.3 kB / 0.9929 GB, free: 7.285 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.176, allocations: 0.9429 MB / 0.9939 GB, free: 6.234 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.176, allocations: 7.984 kB / 0.9939 GB, free: 6.227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.1762, allocations: 71.84 kB / 0.9939 GB, free: 6.156 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1762, allocations: 8 kB / 0.9939 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1762, allocations: 12 kB / 0.994 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1762, allocations: 8.5 kB / 0.994 GB, free: 6.129 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.1762, allocations: 15.88 kB / 0.994 GB, free: 6.113 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.1767, allocations: 0.5536 MB / 0.9945 GB, free: 5.473 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1768, allocations: 79.72 kB / 0.9946 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.1768, allocations: 12 kB / 0.9946 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.177, allocations: 21.61 kB / 0.9946 GB, free: 5.363 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.1771, allocations: 31.89 kB / 0.9947 GB, free: 5.332 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1771, allocations: 23.94 kB / 0.9947 GB, free: 5.309 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001693/0.1773, allocations: 255.1 kB / 0.9949 GB, free: 5.059 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.1773, allocations: 4 kB / 0.9949 GB, free: 5.055 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003831/0.1777, allocations: 147.9 kB / 0.9951 GB, free: 4.91 MB / 0.948 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.0002642/0.1779, allocations: 155.1 kB / 0.9952 GB, free: 4.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.1782, allocations: 195.4 kB / 0.9954 GB, free: 4.555 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1782, allocations: 4 kB / 0.9954 GB, free: 4.551 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1783, allocations: 104.8 kB / 0.9955 GB, free: 4.445 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.1792, allocations: 287.7 kB / 0.9958 GB, free: 4.172 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1805, allocations: 1 MB / 0.9968 GB, free: 3.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.1806, allocations: 157.6 kB / 0.9969 GB, free: 2.898 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.1808, allocations: 104.2 kB / 0.997 GB, free: 2.797 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.1809, allocations: 44.5 kB / 0.997 GB, free: 2.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/0.1809, allocations: 0 / 0.997 GB, free: 2.75 MB / 0.948 GB Notification: Performance of Templates: time 0.01181/0.1927, allocations: 9.685 MB / 1.007 GB, free: 9.332 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.658047116128728]