Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001325/0.001325, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001429/0.001429, allocations: 173 kB / 23.36 MB, free: 1.133 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.9753/0.9753, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.402/2.402, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.901e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1248/0.1249, allocations: 150.3 MB / 0.9854 GB, free: 7.32 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006115/0.131, allocations: 3.918 MB / 0.9892 GB, free: 3.391 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005786/0.1316, allocations: 55.5 kB / 0.9893 GB, free: 3.336 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.1322, allocations: 289.9 kB / 0.9895 GB, free: 3.051 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.1337, allocations: 1.181 MB / 0.9907 GB, free: 1.863 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1349, allocations: 0.8964 MB / 0.9916 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.1369, allocations: 2.969 MB / 0.9945 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007466/0.1377, allocations: 0.8499 MB / 0.9953 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.1396, allocations: 1.55 MB / 0.9968 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.1403, allocations: 0.8725 MB / 0.9977 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1405, allocations: 120 kB / 0.9978 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.141, allocations: 423.1 kB / 0.9982 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.1413, allocations: 0.6156 MB / 0.9988 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.1417, allocations: 0.5262 MB / 0.9993 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.1427, allocations: 1.347 MB / 1.001 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1428, allocations: 0 / 1.001 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1428, allocations: 0 / 1.001 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1428, allocations: 0 / 1.001 GB, free: 7.688 MB / 0.9636 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.001299/0.1441, allocations: 1.421 MB / 1.002 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.1441, allocations: 8.625 kB / 1.002 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009472/0.145, allocations: 419.9 kB / 1.002 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1461, allocations: 0.6875 MB / 1.003 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.1461, allocations: 78.12 kB / 1.003 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1462, allocations: 104 kB / 1.003 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.147, allocations: 1.056 MB / 1.004 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.147, allocations: 4 kB / 1.004 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.1471, allocations: 43.98 kB / 1.004 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.1471, allocations: 38 kB / 1.004 GB, free: 3.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.1475, allocations: 277.8 kB / 1.005 GB, free: 3.395 MB / 0.9636 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.002495/0.15, allocations: 2.051 MB / 1.007 GB, free: 1.309 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1503, allocations: 342.3 kB / 1.007 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1504, allocations: 122.2 kB / 1.007 GB, free: 0.8359 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.1505, allocations: 28.48 kB / 1.007 GB, free: 0.8086 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1505, allocations: 47 kB / 1.007 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.1505, allocations: 4 kB / 1.007 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=55): time 0.001283/0.1518, allocations: 0.8522 MB / 1.008 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.1518, allocations: 59.84 kB / 1.008 GB, free: 15.78 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.1522, allocations: 0.5622 MB / 1.009 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1522, allocations: 37.7 kB / 1.009 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1524, allocations: 465.7 kB / 1.009 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1525, allocations: 206.2 kB / 1.009 GB, free: 14.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.1528, allocations: 122.6 kB / 1.009 GB, free: 14.37 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1529, allocations: 390.6 kB / 1.01 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.153, allocations: 72.8 kB / 1.01 GB, free: 13.91 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.1532, allocations: 264.5 kB / 1.01 GB, free: 13.59 MB / 0.9792 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.0005259/0.1538, allocations: 0.5254 MB / 1.011 GB, free: 13.01 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1538, allocations: 4 kB / 1.011 GB, free: 13 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004132/0.1542, allocations: 401.4 kB / 1.011 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1542, allocations: 8 kB / 1.011 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1542, allocations: 11.92 kB / 1.011 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.48e-05/0.1543, allocations: 56.16 kB / 1.011 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1546, allocations: 147.8 kB / 1.011 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.1561, allocations: 3.607 MB / 1.015 GB, free: 8.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.1564, allocations: 31.94 kB / 1.015 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.1564, allocations: 16 kB / 1.015 GB, free: 8.414 MB / 0.9792 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.0001704/0.1566, allocations: 156.5 kB / 1.015 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/0.1567, allocations: 79.91 kB / 1.015 GB, free: 8.172 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.1568, allocations: 87.66 kB / 1.015 GB, free: 8.086 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1568, allocations: 4 kB / 1.015 GB, free: 8.082 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1568, allocations: 3.938 kB / 1.015 GB, free: 8.078 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002881/0.1571, allocations: 390.2 kB / 1.015 GB, free: 7.641 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.1584, allocations: 1.044 MB / 1.016 GB, free: 6.516 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1584, allocations: 8.094 kB / 1.016 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1587, allocations: 131.8 kB / 1.017 GB, free: 6.379 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.624e-05/0.1588, allocations: 27.61 kB / 1.017 GB, free: 6.348 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.1588, allocations: 16 kB / 1.017 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005473/0.1593, allocations: 1.252 MB / 1.018 GB, free: 4.984 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1593, allocations: 8.031 kB / 1.018 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.1599, allocations: 0.604 MB / 1.018 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.16, allocations: 115.4 kB / 1.019 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.1601, allocations: 19.94 kB / 1.019 GB, free: 4.164 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1604, allocations: 27.97 kB / 1.019 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.1604, allocations: 47.86 kB / 1.019 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.1605, allocations: 23.98 kB / 1.019 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001871/0.1607, allocations: 272.5 kB / 1.019 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1607, allocations: 0 / 1.019 GB, free: 3.801 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000515/0.1612, allocations: 315.9 kB / 1.019 GB, free: 3.492 MB / 0.9792 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.0002141/0.1614, allocations: 132.2 kB / 1.019 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005462/0.1619, allocations: 0.6262 MB / 1.02 GB, free: 2.691 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.1619, allocations: 8 kB / 1.02 GB, free: 2.684 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.1622, allocations: 265.7 kB / 1.02 GB, free: 2.41 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.1637, allocations: 0.5551 MB / 1.021 GB, free: 1.871 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.166, allocations: 1.756 MB / 1.022 GB, free: 36 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1663, allocations: 276.5 kB / 1.023 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004361/0.1667, allocations: 135 kB / 1.023 GB, free: 15.61 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.1678, allocations: 417 kB / 1.023 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of SimCode: time 7.01e-07/0.1678, allocations: 0 / 1.023 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of Templates: time 0.02797/0.1958, allocations: 21.21 MB / 1.044 GB, free: 10.49 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.447146648075432]