Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.001305/0.001305, allocations: 87.58 kB / 20.45 MB, free: 4.117 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: 161 kB / 23.82 MB, free: 0.75 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 1.025/1.025, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.838/1.838, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.Xi.[0-9,]+.|volSte.Xi.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.619e-05, allocations: 3.375 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.1376/0.1376, allocations: 155.5 MB / 0.9634 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005882/0.1435, allocations: 3.872 MB / 0.9672 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007883/0.1443, allocations: 51.56 kB / 0.9673 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007001/0.145, allocations: 309.8 kB / 0.9676 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.147, allocations: 1.181 MB / 0.9687 GB, free: 232 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1484, allocations: 0.9119 MB / 0.9696 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.1514, allocations: 2.991 MB / 0.9725 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.1525, allocations: 0.809 MB / 0.9733 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.155, allocations: 1.659 MB / 0.9749 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.1561, allocations: 0.8491 MB / 0.9758 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1563, allocations: 108 kB / 0.9759 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007067/0.157, allocations: 407 kB / 0.9763 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/0.1574, allocations: 0.4947 MB / 0.9767 GB, free: 8.039 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1578, allocations: 475 kB / 0.9772 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1591, allocations: 1.203 MB / 0.9784 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.1591, allocations: 0 / 0.9784 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1591, allocations: 0 / 0.9784 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.1592, allocations: 0 / 0.9784 GB, free: 6.367 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.001615/0.1608, allocations: 1.496 MB / 0.9798 GB, free: 4.832 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1608, allocations: 8.031 kB / 0.9798 GB, free: 4.824 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.1619, allocations: 407.4 kB / 0.9802 GB, free: 4.426 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008309/0.1627, allocations: 0.7736 MB / 0.981 GB, free: 3.625 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.1628, allocations: 74.06 kB / 0.9811 GB, free: 3.555 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/0.1629, allocations: 91.98 kB / 0.9811 GB, free: 3.465 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.1638, allocations: 1.001 MB / 0.9821 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1638, allocations: 0 / 0.9821 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.1639, allocations: 44 kB / 0.9822 GB, free: 2.301 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.1639, allocations: 30 kB / 0.9822 GB, free: 2.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.1644, allocations: 351.7 kB / 0.9825 GB, free: 1.93 MB / 0.9323 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.002783/0.1672, allocations: 2.19 MB / 0.9847 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.1675, allocations: 272.5 kB / 0.9849 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1677, allocations: 130.2 kB / 0.9851 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.552e-05/0.1678, allocations: 28.36 kB / 0.9851 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1678, allocations: 45.75 kB / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.1678, allocations: 0 / 0.9851 GB, free: 15.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001596/0.1694, allocations: 1.032 MB / 0.9861 GB, free: 14.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.1695, allocations: 59.84 kB / 0.9862 GB, free: 14.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.1699, allocations: 0.6322 MB / 0.9868 GB, free: 13.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.17, allocations: 37.7 kB / 0.9868 GB, free: 13.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.1702, allocations: 0.5416 MB / 0.9874 GB, free: 12.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1703, allocations: 178.5 kB / 0.9875 GB, free: 12.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.1704, allocations: 116 kB / 0.9877 GB, free: 12.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1706, allocations: 0.5547 MB / 0.9882 GB, free: 11.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1707, allocations: 89.25 kB / 0.9883 GB, free: 11.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.171, allocations: 302 kB / 0.9886 GB, free: 11.49 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.1717, allocations: 0.5641 MB / 0.9891 GB, free: 10.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1717, allocations: 0 / 0.9891 GB, free: 10.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005702/0.1723, allocations: 492.3 kB / 0.9896 GB, free: 10.37 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1723, allocations: 8 kB / 0.9896 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1723, allocations: 7.984 kB / 0.9896 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.84e-05/0.1724, allocations: 43.36 kB / 0.9896 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.1727, allocations: 131.8 kB / 0.9898 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.1743, allocations: 3.527 MB / 0.9932 GB, free: 6.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.1747, allocations: 24 kB / 0.9932 GB, free: 6.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1747, allocations: 23.94 kB / 0.9933 GB, free: 6.355 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.1749, allocations: 200.5 kB / 0.9935 GB, free: 6.148 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.175, allocations: 95.53 kB / 0.9935 GB, free: 6.055 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.158e-05/0.175, allocations: 83.36 kB / 0.9936 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.175, allocations: 4 kB / 0.9936 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.175, allocations: 0 / 0.9936 GB, free: 5.965 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004309/0.1755, allocations: 0.5853 MB / 0.9942 GB, free: 5.293 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.1768, allocations: 1.287 MB / 0.9955 GB, free: 3.906 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1768, allocations: 7.938 kB / 0.9955 GB, free: 3.898 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.1771, allocations: 111.9 kB / 0.9956 GB, free: 3.789 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.603e-05/0.1771, allocations: 31.67 kB / 0.9956 GB, free: 3.754 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1771, allocations: 8 kB / 0.9956 GB, free: 3.746 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007188/0.1779, allocations: 1.792 MB / 0.9974 GB, free: 1.832 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.1779, allocations: 11.92 kB / 0.9974 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006285/0.1785, allocations: 0.6955 MB / 0.998 GB, free: 1.043 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.1788, allocations: 139.5 kB / 0.9982 GB, free: 0.9062 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.1789, allocations: 15.98 kB / 0.9982 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1792, allocations: 37.14 kB / 0.9982 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.1792, allocations: 43.88 kB / 0.9983 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.1793, allocations: 27.98 kB / 0.9983 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002892/0.1796, allocations: 403 kB / 0.9987 GB, free: 404 kB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1796, allocations: 0 / 0.9987 GB, free: 404 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004884/0.1801, allocations: 272 kB / 0.9989 GB, free: 132 kB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002192/0.1803, allocations: 161 kB / 0.9991 GB, free: 15.96 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.1809, allocations: 0.6354 MB / 0.9997 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.1809, allocations: 4 kB / 0.9997 GB, free: 15.28 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.1811, allocations: 327.8 kB / 1 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.1823, allocations: 0.4971 MB / 1.001 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.184, allocations: 1.613 MB / 1.002 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.1842, allocations: 232.1 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000389/0.1846, allocations: 166.3 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1847, allocations: 60.5 kB / 1.003 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.1847, allocations: 4 kB / 1.003 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of Templates: time 0.01995/0.2046, allocations: 18.7 MB / 1.021 GB, free: 10.01 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.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.668122636154294]