Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009309/0.0009309, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001065/0.001065, allocations: 177 kB / 24.08 MB, free: 416 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.985/0.985, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.162e-05, allocations: 2.312 kB / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1246/0.1246, allocations: 148.2 MB / 0.9567 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007148/0.1318, allocations: 3.817 MB / 0.9605 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1328, allocations: 63.44 kB / 0.9605 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.1336, allocations: 285.9 kB / 0.9608 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.1357, allocations: 1.173 MB / 0.9619 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1373, allocations: 0.9004 MB / 0.9628 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002885/0.1402, allocations: 2.996 MB / 0.9658 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.1412, allocations: 0.8519 MB / 0.9666 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.1437, allocations: 1.567 MB / 0.9681 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.1448, allocations: 0.9038 MB / 0.969 GB, free: 172 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.145, allocations: 128 kB / 0.9691 GB, free: 44 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007548/0.1457, allocations: 423 kB / 0.9695 GB, free: 15.63 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004109/0.1462, allocations: 0.6195 MB / 0.9701 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.1466, allocations: 0.5224 MB / 0.9706 GB, free: 14.48 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.148, allocations: 1.351 MB / 0.972 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.148, allocations: 4 kB / 0.972 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.002e-06/0.148, allocations: 0 / 0.972 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.992e-05/0.148, allocations: 0 / 0.972 GB, free: 13.12 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00166/0.1497, allocations: 1.597 MB / 0.9735 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1497, allocations: 12.03 kB / 0.9735 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.1508, allocations: 431.3 kB / 0.9739 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/0.1517, allocations: 0.7967 MB / 0.9747 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.1518, allocations: 82.11 kB / 0.9748 GB, free: 10.15 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.1519, allocations: 104 kB / 0.9749 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.1527, allocations: 1.002 MB / 0.9759 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1527, allocations: 0 / 0.9759 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.1528, allocations: 43.97 kB / 0.9759 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.1528, allocations: 42 kB / 0.976 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.1532, allocations: 321.7 kB / 0.9763 GB, free: 8.527 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.002979/0.1562, allocations: 2.452 MB / 0.9787 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.1565, allocations: 331.7 kB / 0.979 GB, free: 5.688 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.1566, allocations: 121.7 kB / 0.9791 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1567, allocations: 36.48 kB / 0.9791 GB, free: 5.527 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1568, allocations: 41.89 kB / 0.9792 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.1568, allocations: 0 / 0.9792 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.001504/0.1583, allocations: 0.9671 MB / 0.9801 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.1583, allocations: 59.91 kB / 0.9802 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005692/0.1589, allocations: 0.6435 MB / 0.9808 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1589, allocations: 41.7 kB / 0.9808 GB, free: 3.688 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.1592, allocations: 0.6001 MB / 0.9814 GB, free: 3.078 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1593, allocations: 214.2 kB / 0.9816 GB, free: 2.867 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1594, allocations: 136.2 kB / 0.9818 GB, free: 2.723 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1596, allocations: 0.5741 MB / 0.9823 GB, free: 2.137 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1597, allocations: 73.94 kB / 0.9824 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.1599, allocations: 328.5 kB / 0.9827 GB, free: 1.664 MB / 0.9323 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.0006119/0.1605, allocations: 0.5924 MB / 0.9833 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1605, allocations: 3.938 kB / 0.9833 GB, free: 1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005307/0.1611, allocations: 0.5117 MB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1611, allocations: 11.94 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.1611, allocations: 4 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.1612, allocations: 63.03 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.1615, allocations: 151.7 kB / 0.984 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.1637, allocations: 5.191 MB / 0.9891 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.1641, allocations: 27.94 kB / 0.9891 GB, free: 10.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1641, allocations: 20.22 kB / 0.9891 GB, free: 10.65 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: 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.0002516/0.1644, allocations: 200.4 kB / 0.9893 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1645, allocations: 107.5 kB / 0.9894 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.889e-05/0.1646, allocations: 99.66 kB / 0.9895 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1646, allocations: 4 kB / 0.9895 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1646, allocations: 3.938 kB / 0.9895 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003668/0.165, allocations: 441.1 kB / 0.9899 GB, free: 9.742 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.1664, allocations: 1.196 MB / 0.9911 GB, free: 8.453 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1664, allocations: 4 kB / 0.9911 GB, free: 8.449 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.1667, allocations: 136.3 kB / 0.9912 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.078e-05/0.1668, allocations: 27.67 kB / 0.9913 GB, free: 8.285 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.1668, allocations: 19.98 kB / 0.9913 GB, free: 8.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008328/0.1676, allocations: 1.765 MB / 0.993 GB, free: 6.383 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1676, allocations: 4 kB / 0.993 GB, free: 6.379 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/0.1684, allocations: 0.7113 MB / 0.9937 GB, free: 5.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.1687, allocations: 147.3 kB / 0.9938 GB, free: 5.445 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.1687, allocations: 16 kB / 0.9939 GB, free: 5.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.1691, allocations: 23.98 kB / 0.9939 GB, free: 5.406 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.1692, allocations: 59.58 kB / 0.9939 GB, free: 5.348 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.1692, allocations: 23.98 kB / 0.994 GB, free: 5.324 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003/0.1695, allocations: 394.8 kB / 0.9943 GB, free: 4.945 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.1695, allocations: 0 / 0.9943 GB, free: 4.945 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009009/0.1704, allocations: 303.9 kB / 0.9946 GB, free: 4.648 MB / 0.948 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.0002575/0.1707, allocations: 155.1 kB / 0.9948 GB, free: 4.488 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007357/0.1714, allocations: 0.8146 MB / 0.9956 GB, free: 3.629 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1714, allocations: 4 kB / 0.9956 GB, free: 3.625 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.1717, allocations: 334.2 kB / 0.9959 GB, free: 3.277 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.1729, allocations: 0.537 MB / 0.9964 GB, free: 2.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.1752, allocations: 1.851 MB / 0.9982 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.1754, allocations: 272.6 kB / 0.9985 GB, free: 0.5156 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.1758, allocations: 139 kB / 0.9986 GB, free: 384 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007789/0.1765, allocations: 0.4939 MB / 0.9991 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of SimCode: time 9.72e-07/0.1765, allocations: 0 / 0.9991 GB, free: 15.88 MB / 0.9636 GB Notification: Performance of Templates: time 0.02497/0.2015, allocations: 21.29 MB / 1.02 GB, free: 11.12 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.723135743290186]