Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001173/0.001173, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001565/0.001565, allocations: 161 kB / 24.17 MB, free: 332 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.9972/0.9972, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.977/1.977, allocations: 377.9 MB / 0.624 GB, free: 8.324 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.472e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1396/0.1396, allocations: 150.2 MB / 0.9067 GB, free: 0 / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006986/0.1466, allocations: 3.887 MB / 0.9105 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009942/0.1476, allocations: 51.56 kB / 0.9106 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.1483, allocations: 293.9 kB / 0.9109 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.1504, allocations: 1.049 MB / 0.9119 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.1523, allocations: 0.9882 MB / 0.9129 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.1548, allocations: 2.509 MB / 0.9153 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.1561, allocations: 0.7938 MB / 0.9161 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.1581, allocations: 1.364 MB / 0.9174 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008326/0.159, allocations: 0.7205 MB / 0.9181 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1591, allocations: 100 kB / 0.9182 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1601, allocations: 0.6353 MB / 0.9188 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.1604, allocations: 0.526 MB / 0.9194 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.1608, allocations: 447 kB / 0.9198 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.1624, allocations: 1.343 MB / 0.9211 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1624, allocations: 0 / 0.9211 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1624, allocations: 0 / 0.9211 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.1624, allocations: 0 / 0.9211 GB, free: 1.301 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001403/0.1638, allocations: 1.32 MB / 0.9224 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1639, allocations: 8.031 kB / 0.9224 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.1649, allocations: 388 kB / 0.9228 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007623/0.1657, allocations: 0.6205 MB / 0.9234 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.751e-05/0.1658, allocations: 70.12 kB / 0.9234 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/0.1658, allocations: 88 kB / 0.9235 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.1667, allocations: 1.085 MB / 0.9246 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1668, allocations: 3.938 kB / 0.9246 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.1668, allocations: 40 kB / 0.9246 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.1669, allocations: 37.98 kB / 0.9247 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1673, allocations: 292.5 kB / 0.9249 GB, free: 13.16 MB / 0.8855 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.002569/0.1699, allocations: 2.525 MB / 0.9274 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.1702, allocations: 222.8 kB / 0.9276 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.1703, allocations: 84.23 kB / 0.9277 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/0.1703, allocations: 19.98 kB / 0.9277 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1704, allocations: 46.42 kB / 0.9278 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 3.016e-06/0.1704, allocations: 0 / 0.9278 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001099/0.1715, allocations: 0.6133 MB / 0.9284 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1715, allocations: 63.16 kB / 0.9284 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.1719, allocations: 0.5817 MB / 0.929 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.172, allocations: 33.7 kB / 0.929 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.1722, allocations: 444.8 kB / 0.9294 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.1722, allocations: 150.7 kB / 0.9296 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.1724, allocations: 114.2 kB / 0.9297 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002578/0.1726, allocations: 386.6 kB / 0.9301 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1727, allocations: 56.11 kB / 0.9301 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1729, allocations: 291.3 kB / 0.9304 GB, free: 7.297 MB / 0.8855 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.0004876/0.1734, allocations: 481.3 kB / 0.9309 GB, free: 6.742 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1734, allocations: 4 kB / 0.9309 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004005/0.1738, allocations: 350.3 kB / 0.9312 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1738, allocations: 4 kB / 0.9312 GB, free: 6.383 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1738, allocations: 11.94 kB / 0.9312 GB, free: 6.371 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1739, allocations: 8.719 kB / 0.9312 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.1742, allocations: 150.4 kB / 0.9314 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1742, allocations: 15.92 kB / 0.9314 GB, free: 6.203 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/0.1745, allocations: 35.98 kB / 0.9314 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.1746, allocations: 19.98 kB / 0.9314 GB, free: 6.148 MB / 0.8855 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.1747, allocations: 160.5 kB / 0.9316 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.1748, allocations: 59.92 kB / 0.9316 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.314e-05/0.1749, allocations: 86.94 kB / 0.9317 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1749, allocations: 4 kB / 0.9317 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1749, allocations: 0 / 0.9317 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002558/0.1752, allocations: 469.3 kB / 0.9322 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1762, allocations: 0.93 MB / 0.9331 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1762, allocations: 7.938 kB / 0.9331 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.1764, allocations: 106.7 kB / 0.9332 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1765, allocations: 4 kB / 0.9332 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.1765, allocations: 12 kB / 0.9332 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1765, allocations: 4.469 kB / 0.9332 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.1765, allocations: 19.92 kB / 0.9332 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.1769, allocations: 0.5313 MB / 0.9337 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.1771, allocations: 107.4 kB / 0.9338 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.1771, allocations: 12 kB / 0.9339 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/0.1774, allocations: 27.98 kB / 0.9339 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1774, allocations: 35.83 kB / 0.9339 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.1775, allocations: 23.98 kB / 0.9339 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002186/0.1777, allocations: 272.5 kB / 0.9342 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1777, allocations: 0 / 0.9342 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005143/0.1782, allocations: 255.9 kB / 0.9344 GB, free: 2.781 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002532/0.1785, allocations: 148.1 kB / 0.9346 GB, free: 2.629 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1788, allocations: 241.7 kB / 0.9348 GB, free: 2.391 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.1788, allocations: 16.5 kB / 0.9348 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.1789, allocations: 101.2 kB / 0.9349 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.1799, allocations: 474.5 kB / 0.9354 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.1818, allocations: 1.557 MB / 0.9369 GB, free: 172 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.182, allocations: 226.9 kB / 0.9371 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003623/0.1823, allocations: 130.4 kB / 0.9372 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006669/0.183, allocations: 373 kB / 0.9376 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of SimCode: time 1.403e-06/0.183, allocations: 0 / 0.9376 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of Templates: time 0.02232/0.2053, allocations: 16.86 MB / 0.9541 GB, free: 15 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.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.594251582864672]