Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001113/0.001113, allocations: 81.95 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.001016/0.001016, allocations: 166.9 kB / 24.87 MB, free: 8.887 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.9897/0.9897, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027e-05/1.131e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1182/0.1182, allocations: 148 MB / 0.9328 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.00432/0.1225, allocations: 3.785 MB / 0.9365 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.1229, allocations: 59.5 kB / 0.9366 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.1235, allocations: 281.9 kB / 0.9368 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.1249, allocations: 1.072 MB / 0.9379 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.126, allocations: 0.9885 MB / 0.9389 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001697/0.1277, allocations: 2.53 MB / 0.9413 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000656/0.1284, allocations: 0.7437 MB / 0.9421 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.1301, allocations: 1.392 MB / 0.9434 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006903/0.1307, allocations: 0.7595 MB / 0.9442 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1308, allocations: 100 kB / 0.9443 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006679/0.1315, allocations: 0.6314 MB / 0.9449 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.1318, allocations: 0.5259 MB / 0.9454 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.1322, allocations: 439 kB / 0.9458 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1332, allocations: 1.343 MB / 0.9471 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1332, allocations: 0 / 0.9471 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1332, allocations: 0 / 0.9471 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.1333, allocations: 4 kB / 0.9471 GB, free: 9.109 MB / 0.9011 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.001318/0.1346, allocations: 1.476 MB / 0.9486 GB, free: 7.594 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1346, allocations: 12.03 kB / 0.9486 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.1356, allocations: 407.4 kB / 0.949 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007166/0.1363, allocations: 0.7142 MB / 0.9497 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.493e-05/0.1363, allocations: 74.11 kB / 0.9497 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.1364, allocations: 88 kB / 0.9498 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.1373, allocations: 1.089 MB / 0.9509 GB, free: 5.043 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1373, allocations: 3.938 kB / 0.9509 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.58e-05/0.1374, allocations: 40 kB / 0.9509 GB, free: 5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/0.1374, allocations: 33.98 kB / 0.9509 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.1378, allocations: 289.6 kB / 0.9512 GB, free: 4.684 MB / 0.9011 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.002854/0.1406, allocations: 3.361 MB / 0.9545 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1409, allocations: 191.2 kB / 0.9547 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.141, allocations: 87.62 kB / 0.9548 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-05/0.141, allocations: 23.98 kB / 0.9548 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.1411, allocations: 45.39 kB / 0.9548 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.1411, allocations: 0 / 0.9548 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of matching and sorting (n=38): time 0.001009/0.1421, allocations: 0.6857 MB / 0.9555 GB, free: 140 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1421, allocations: 63.34 kB / 0.9556 GB, free: 64 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.1426, allocations: 0.6709 MB / 0.9562 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1426, allocations: 37.7 kB / 0.9563 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.143, allocations: 0.5764 MB / 0.9568 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.143, allocations: 146.7 kB / 0.957 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.1432, allocations: 131.8 kB / 0.9571 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1433, allocations: 0.5702 MB / 0.9576 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.1434, allocations: 53.27 kB / 0.9577 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1437, allocations: 374 kB / 0.9581 GB, free: 13.34 MB / 0.9167 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.0005052/0.1442, allocations: 0.5211 MB / 0.9586 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1442, allocations: 3.984 kB / 0.9586 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004616/0.1446, allocations: 440.8 kB / 0.959 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1446, allocations: 7.938 kB / 0.959 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1447, allocations: 11.98 kB / 0.959 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1447, allocations: 8 kB / 0.959 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.145, allocations: 135.8 kB / 0.9591 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.145, allocations: 11.94 kB / 0.9592 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.1453, allocations: 44.19 kB / 0.9592 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.1453, allocations: 20 kB / 0.9592 GB, free: 12.04 MB / 0.9167 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.0001727/0.1455, allocations: 193.2 kB / 0.9594 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.1456, allocations: 95.47 kB / 0.9595 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.15e-05/0.1457, allocations: 86.92 kB / 0.9596 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1457, allocations: 4 kB / 0.9596 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1457, allocations: 0 / 0.9596 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003108/0.146, allocations: 0.4915 MB / 0.9601 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1471, allocations: 1.048 MB / 0.9611 GB, free: 9.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1471, allocations: 4 kB / 0.9611 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.1473, allocations: 87.92 kB / 0.9612 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.1473, allocations: 4 kB / 0.9612 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1473, allocations: 16 kB / 0.9612 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1473, allocations: 7.938 kB / 0.9612 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1473, allocations: 7.984 kB / 0.9612 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1478, allocations: 0.6041 MB / 0.9618 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.148, allocations: 123.5 kB / 0.9619 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/0.148, allocations: 16 kB / 0.9619 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.1483, allocations: 37.03 kB / 0.962 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.676e-05/0.1483, allocations: 31.89 kB / 0.962 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.1484, allocations: 31.92 kB / 0.962 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002454/0.1486, allocations: 398.8 kB / 0.9624 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1486, allocations: 0 / 0.9624 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004915/0.1491, allocations: 259.9 kB / 0.9626 GB, free: 8.238 MB / 0.9167 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.0002536/0.1494, allocations: 170.9 kB / 0.9628 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.1497, allocations: 265.7 kB / 0.9631 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1497, allocations: 4.062 kB / 0.9631 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1498, allocations: 105.5 kB / 0.9632 GB, free: 7.691 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.151, allocations: 452.6 kB / 0.9636 GB, free: 7.262 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1529, allocations: 1.628 MB / 0.9652 GB, free: 5.527 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.153, allocations: 238.9 kB / 0.9654 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.1533, allocations: 130.4 kB / 0.9655 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/0.154, allocations: 441.8 kB / 0.966 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of SimCode: time 8.91e-07/0.154, allocations: 0 / 0.966 GB, free: 4.707 MB / 0.9167 GB Notification: Performance of Templates: time 0.01882/0.1728, allocations: 17.05 MB / 0.9826 GB, free: 4.086 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.629932514857501]