Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001255/0.001255, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00118/0.00118, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9781/0.9781, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.811/1.811, allocations: 359 MB / 0.6052 GB, free: 11.05 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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.931e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1486/0.1486, allocations: 151 MB / 0.9345 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005019/0.1536, allocations: 3.832 MB / 0.9383 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.1541, allocations: 55.5 kB / 0.9383 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.1548, allocations: 293.8 kB / 0.9386 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.1567, allocations: 1.173 MB / 0.9398 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1579, allocations: 0.8965 MB / 0.9406 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.16, allocations: 2.997 MB / 0.9436 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007943/0.1608, allocations: 0.8519 MB / 0.9444 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.1619, allocations: 1.352 MB / 0.9457 GB, free: 9.562 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.1634, allocations: 0.9418 MB / 0.9466 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.1635, allocations: 124 kB / 0.9467 GB, free: 8.516 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000675/0.1642, allocations: 0.4988 MB / 0.9472 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.1646, allocations: 0.6273 MB / 0.9478 GB, free: 7.387 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.165, allocations: 0.5223 MB / 0.9484 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1663, allocations: 1.386 MB / 0.9497 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1663, allocations: 0 / 0.9497 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1663, allocations: 4 kB / 0.9497 GB, free: 5.469 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.1663, allocations: 0 / 0.9497 GB, free: 5.469 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001653/0.1679, allocations: 1.632 MB / 0.9513 GB, free: 3.797 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.168, allocations: 8.031 kB / 0.9513 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1691, allocations: 447.3 kB / 0.9517 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.1701, allocations: 0.8611 MB / 0.9526 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.1702, allocations: 78.12 kB / 0.9527 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.1703, allocations: 107.9 kB / 0.9528 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1713, allocations: 1.123 MB / 0.9539 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1714, allocations: 3.953 kB / 0.9539 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.1714, allocations: 44 kB / 0.9539 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.1715, allocations: 45.98 kB / 0.9539 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.1721, allocations: 399.7 kB / 0.9543 GB, free: 0.5391 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.003158/0.1753, allocations: 2.476 MB / 0.9567 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.1759, allocations: 343.2 kB / 0.9571 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1761, allocations: 145.7 kB / 0.9572 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.1762, allocations: 28.48 kB / 0.9572 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1762, allocations: 45.89 kB / 0.9573 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.1762, allocations: 0 / 0.9573 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of matching and sorting (n=55): time 0.001914/0.1782, allocations: 1.192 MB / 0.9584 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1782, allocations: 59.91 kB / 0.9585 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.1787, allocations: 0.6595 MB / 0.9591 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.1787, allocations: 45.7 kB / 0.9592 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.179, allocations: 0.5885 MB / 0.9598 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1791, allocations: 206.2 kB / 0.96 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.1793, allocations: 136.3 kB / 0.9601 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004419/0.1797, allocations: 0.5664 MB / 0.9606 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.1799, allocations: 97.94 kB / 0.9607 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.1802, allocations: 352.5 kB / 0.9611 GB, free: 9.359 MB / 0.9167 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.0008195/0.181, allocations: 0.6647 MB / 0.9617 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.181, allocations: 0 / 0.9617 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006553/0.1816, allocations: 0.5697 MB / 0.9623 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1817, allocations: 8.438 kB / 0.9623 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1817, allocations: 8 kB / 0.9623 GB, free: 8.023 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.1818, allocations: 67.03 kB / 0.9624 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.1822, allocations: 151.8 kB / 0.9625 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.1847, allocations: 5.263 MB / 0.9676 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1851, allocations: 23.94 kB / 0.9677 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.1851, allocations: 28 kB / 0.9677 GB, free: 2.105 MB / 0.9167 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.1853, allocations: 212.5 kB / 0.9679 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.1854, allocations: 103.5 kB / 0.968 GB, free: 1.785 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/0.1855, allocations: 87.73 kB / 0.9681 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1855, allocations: 8 kB / 0.9681 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1855, allocations: 0 / 0.9681 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004639/0.186, allocations: 485.1 kB / 0.9685 GB, free: 1.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.1875, allocations: 1.395 MB / 0.9699 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1875, allocations: 7.938 kB / 0.9699 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.1879, allocations: 136.2 kB / 0.97 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.506e-05/0.1879, allocations: 27.67 kB / 0.9701 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1879, allocations: 16 kB / 0.9701 GB, free: 15.48 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008198/0.1888, allocations: 1.791 MB / 0.9718 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1888, allocations: 3.938 kB / 0.9718 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.1895, allocations: 0.7659 MB / 0.9726 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.1897, allocations: 155.4 kB / 0.9727 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.1898, allocations: 19.98 kB / 0.9728 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.1901, allocations: 23.98 kB / 0.9728 GB, free: 12.52 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/0.1902, allocations: 51.8 kB / 0.9728 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.1902, allocations: 31.98 kB / 0.9729 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003205/0.1905, allocations: 419 kB / 0.9733 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1905, allocations: 0 / 0.9733 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005833/0.1911, allocations: 311.9 kB / 0.9736 GB, free: 11.73 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * 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.0002591/0.1914, allocations: 159.1 kB / 0.9737 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.1925, allocations: 0.8501 MB / 0.9745 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1925, allocations: 4 kB / 0.9745 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1928, allocations: 346 kB / 0.9749 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.1942, allocations: 0.5416 MB / 0.9754 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.1966, allocations: 1.837 MB / 0.9772 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1968, allocations: 276.5 kB / 0.9775 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004293/0.1972, allocations: 194.9 kB / 0.9776 GB, free: 7.355 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1973, allocations: 68.5 kB / 0.9777 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/0.1973, allocations: 0 / 0.9777 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of Templates: time 0.02191/0.2193, allocations: 19.66 MB / 0.9969 GB, free: 4.121 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.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.858941874932498]