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.001032/0.001032, allocations: 80.8 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.0009798/0.0009798, allocations: 161 kB / 24.16 MB, free: 336 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.9532/0.9532, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.433e-06/1.433e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.245e-05, allocations: 3.078 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.128/0.128, allocations: 150.2 MB / 0.9067 GB, free: 104 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1329, allocations: 3.891 MB / 0.9105 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.1333, allocations: 55.5 kB / 0.9105 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.1339, allocations: 281.9 kB / 0.9108 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1352, allocations: 1.064 MB / 0.9118 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.1366, allocations: 0.9857 MB / 0.9128 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1382, allocations: 2.511 MB / 0.9152 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.1388, allocations: 0.752 MB / 0.916 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1403, allocations: 1.373 MB / 0.9173 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.1409, allocations: 0.7205 MB / 0.918 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.97e-05/0.141, allocations: 100 kB / 0.9181 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.1417, allocations: 0.6197 MB / 0.9187 GB, free: 3.738 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.142, allocations: 0.5259 MB / 0.9192 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.1426, allocations: 455 kB / 0.9197 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1437, allocations: 1.332 MB / 0.921 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1437, allocations: 0 / 0.921 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1437, allocations: 0 / 0.921 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.1437, allocations: 0 / 0.921 GB, free: 1.43 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.001258/0.1449, allocations: 1.316 MB / 0.9222 GB, free: 84 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.145, allocations: 20.02 kB / 0.9223 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.1459, allocations: 372.1 kB / 0.9226 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/0.1466, allocations: 0.6283 MB / 0.9232 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.1466, allocations: 74.12 kB / 0.9233 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.1467, allocations: 91.98 kB / 0.9234 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.1475, allocations: 1.085 MB / 0.9244 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1475, allocations: 4 kB / 0.9245 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.1476, allocations: 36 kB / 0.9245 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.1476, allocations: 37.98 kB / 0.9245 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.148, allocations: 280.5 kB / 0.9248 GB, free: 13.3 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.002264/0.1502, allocations: 2.537 MB / 0.9273 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1505, allocations: 222.8 kB / 0.9275 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.1505, allocations: 79.61 kB / 0.9276 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.1506, allocations: 31.98 kB / 0.9276 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1506, allocations: 42.42 kB / 0.9276 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.1506, allocations: 0 / 0.9276 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38): time 0.001001/0.1516, allocations: 0.6131 MB / 0.9282 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1517, allocations: 63.16 kB / 0.9283 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.1521, allocations: 0.5778 MB / 0.9288 GB, free: 8.992 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.1521, allocations: 37.7 kB / 0.9289 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1523, allocations: 440.8 kB / 0.9293 GB, free: 8.508 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.1523, allocations: 154.7 kB / 0.9295 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.1524, allocations: 118.2 kB / 0.9296 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1526, allocations: 382.6 kB / 0.9299 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.1527, allocations: 64.05 kB / 0.93 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1529, allocations: 283.3 kB / 0.9303 GB, free: 7.422 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.0004306/0.1533, allocations: 481.5 kB / 0.9307 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1533, allocations: 4 kB / 0.9307 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000361/0.1537, allocations: 346.9 kB / 0.9311 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1537, allocations: 8 kB / 0.9311 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1537, allocations: 15.91 kB / 0.9311 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1537, allocations: 8 kB / 0.9311 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.154, allocations: 135.8 kB / 0.9312 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.154, allocations: 15.94 kB / 0.9312 GB, free: 6.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.1543, allocations: 40.19 kB / 0.9313 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.1543, allocations: 20 kB / 0.9313 GB, free: 6.277 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.0001485/0.1545, allocations: 148.5 kB / 0.9314 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.1545, allocations: 67.92 kB / 0.9315 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.1546, allocations: 78.94 kB / 0.9316 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1546, allocations: 7.984 kB / 0.9316 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1546, allocations: 0 / 0.9316 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002274/0.1548, allocations: 465.3 kB / 0.932 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008981/0.1557, allocations: 0.9372 MB / 0.9329 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1557, allocations: 4 kB / 0.9329 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.1561, allocations: 79.94 kB / 0.933 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1561, allocations: 8 kB / 0.933 GB, free: 4.305 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1561, allocations: 15.98 kB / 0.933 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.299e-06/0.1561, allocations: 8 kB / 0.933 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1561, allocations: 7.938 kB / 0.9331 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.1565, allocations: 0.5284 MB / 0.9336 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.1566, allocations: 107.4 kB / 0.9337 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.556e-05/0.1567, allocations: 20 kB / 0.9337 GB, free: 3.539 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1569, allocations: 26.42 kB / 0.9337 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1569, allocations: 35.83 kB / 0.9338 GB, free: 3.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.157, allocations: 23.98 kB / 0.9338 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001891/0.1572, allocations: 276.5 kB / 0.934 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.1572, allocations: 0 / 0.934 GB, free: 3.191 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004486/0.1576, allocations: 251.9 kB / 0.9343 GB, free: 2.945 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.0002176/0.1578, allocations: 152.1 kB / 0.9344 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.1581, allocations: 235.3 kB / 0.9346 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/0.1581, allocations: 20.56 kB / 0.9347 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.1582, allocations: 96.55 kB / 0.9348 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.1592, allocations: 478.8 kB / 0.9352 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1607, allocations: 1.549 MB / 0.9367 GB, free: 344 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.1609, allocations: 230.9 kB / 0.9369 GB, free: 92 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002929/0.1611, allocations: 138.4 kB / 0.9371 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.1617, allocations: 365 kB / 0.9374 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/0.1617, allocations: 0 / 0.9374 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of Templates: time 0.01819/0.1799, allocations: 16.81 MB / 0.9538 GB, free: 15.22 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 -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.395108654629439]