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.001331/0.001331, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001028/0.001028, allocations: 172.5 kB / 24.87 MB, free: 8.695 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.9383/0.9383, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.891/1.891, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.362e-06/1.362e-06, allocations: 0.9844 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.015e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1226/0.1226, allocations: 148.2 MB / 0.9575 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005561/0.1282, allocations: 3.824 MB / 0.9612 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007434/0.1289, allocations: 51.56 kB / 0.9613 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.1296, allocations: 297.8 kB / 0.9616 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.1315, allocations: 1.173 MB / 0.9627 GB, free: 7.418 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1329, allocations: 0.8887 MB / 0.9636 GB, free: 6.527 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.1356, allocations: 3.001 MB / 0.9665 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.1369, allocations: 0.8558 MB / 0.9674 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.1391, allocations: 1.569 MB / 0.9689 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.1402, allocations: 0.9077 MB / 0.9698 GB, free: 200 kB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1404, allocations: 120 kB / 0.9699 GB, free: 80 kB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.1411, allocations: 423.2 kB / 0.9703 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.1415, allocations: 0.6312 MB / 0.9709 GB, free: 15.03 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004939/0.142, allocations: 0.5146 MB / 0.9714 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1433, allocations: 1.347 MB / 0.9727 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1433, allocations: 0 / 0.9727 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.82e-07/0.1433, allocations: 0 / 0.9727 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.1433, allocations: 0 / 0.9727 GB, free: 13.16 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.001609/0.1449, allocations: 1.6 MB / 0.9743 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1449, allocations: 12.03 kB / 0.9743 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.146, allocations: 423.3 kB / 0.9747 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.1469, allocations: 0.8045 MB / 0.9755 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.147, allocations: 86.11 kB / 0.9756 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.1471, allocations: 104 kB / 0.9757 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.148, allocations: 0.9985 MB / 0.9767 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.148, allocations: 0 / 0.9767 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.1481, allocations: 44 kB / 0.9767 GB, free: 8.914 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/0.1481, allocations: 37.98 kB / 0.9767 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1485, allocations: 321.7 kB / 0.977 GB, free: 8.562 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.003107/0.1516, allocations: 2.456 MB / 0.9794 GB, free: 6.051 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.1521, allocations: 329.8 kB / 0.9797 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1522, allocations: 121.7 kB / 0.9799 GB, free: 5.598 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.1523, allocations: 36.41 kB / 0.9799 GB, free: 5.562 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1524, allocations: 45.89 kB / 0.9799 GB, free: 5.504 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.1524, allocations: 0 / 0.9799 GB, free: 5.504 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.00181/0.1542, allocations: 0.9633 MB / 0.9809 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1542, allocations: 55.91 kB / 0.9809 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.1546, allocations: 0.6474 MB / 0.9816 GB, free: 3.77 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.1547, allocations: 37.7 kB / 0.9816 GB, free: 3.727 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.155, allocations: 0.5962 MB / 0.9822 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1551, allocations: 210.2 kB / 0.9824 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1552, allocations: 140.2 kB / 0.9825 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.1554, allocations: 0.5702 MB / 0.9831 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1555, allocations: 73.94 kB / 0.9831 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.1557, allocations: 332.6 kB / 0.9835 GB, free: 1.707 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.0006369/0.1564, allocations: 0.5932 MB / 0.984 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1564, allocations: 0 / 0.984 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005595/0.1569, allocations: 0.5229 MB / 0.9846 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.157, allocations: 7.938 kB / 0.9846 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.157, allocations: 4 kB / 0.9846 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.9e-05/0.1571, allocations: 59.05 kB / 0.9846 GB, free: 432 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1574, allocations: 148.2 kB / 0.9848 GB, free: 284 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.1598, allocations: 5.195 MB / 0.9898 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.1602, allocations: 27.94 kB / 0.9899 GB, free: 10.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.1603, allocations: 20 kB / 0.9899 GB, free: 10.7 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.0001944/0.1604, allocations: 202 kB / 0.9901 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.1606, allocations: 111.5 kB / 0.9902 GB, free: 10.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/0.1607, allocations: 91.67 kB / 0.9903 GB, free: 10.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1607, allocations: 8.062 kB / 0.9903 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1607, allocations: 0 / 0.9903 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003721/0.161, allocations: 437.2 kB / 0.9907 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.1629, allocations: 1.204 MB / 0.9919 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.1629, allocations: 8 kB / 0.9919 GB, free: 8.488 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/0.1634, allocations: 139.7 kB / 0.992 GB, free: 8.352 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.141e-05/0.1635, allocations: 19.69 kB / 0.992 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.1635, allocations: 19.98 kB / 0.9921 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1645, allocations: 1.765 MB / 0.9938 GB, free: 6.426 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.1645, allocations: 7.938 kB / 0.9938 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.1655, allocations: 0.7073 MB / 0.9945 GB, free: 5.633 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.1658, allocations: 143.3 kB / 0.9946 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.383e-05/0.1659, allocations: 16 kB / 0.9946 GB, free: 5.477 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.1666, allocations: 27.98 kB / 0.9947 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1667, allocations: 55.58 kB / 0.9947 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.084e-05/0.1668, allocations: 32.02 kB / 0.9947 GB, free: 5.363 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000373/0.1672, allocations: 394.8 kB / 0.9951 GB, free: 4.984 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.1672, allocations: 0 / 0.9951 GB, free: 4.984 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009697/0.1681, allocations: 307.9 kB / 0.9954 GB, free: 4.684 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.0002937/0.1684, allocations: 143.2 kB / 0.9955 GB, free: 4.535 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009054/0.1693, allocations: 0.8217 MB / 0.9963 GB, free: 3.668 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1693, allocations: 0 / 0.9963 GB, free: 3.668 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.1697, allocations: 332 kB / 0.9967 GB, free: 3.324 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.1716, allocations: 0.5461 MB / 0.9972 GB, free: 2.789 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.175, allocations: 1.848 MB / 0.999 GB, free: 0.8438 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.1753, allocations: 276.6 kB / 0.9993 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006152/0.1759, allocations: 139 kB / 0.9994 GB, free: 424 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.177, allocations: 497.8 kB / 0.9999 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of SimCode: time 1.283e-06/0.177, allocations: 0 / 0.9999 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of Templates: time 0.03294/0.2099, allocations: 21.6 MB / 1.021 GB, free: 10.87 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.85657850606367]