Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.0008662/0.0008662, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001005/0.001005, allocations: 173 kB / 23.36 MB, free: 1.129 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.9717/0.9717, allocations: 177.1 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.452/2.452, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.08e-05, allocations: 4.844 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1405/0.1406, allocations: 149 MB / 0.9842 GB, free: 8.512 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00493/0.1455, allocations: 3.269 MB / 0.9874 GB, free: 5.23 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.1461, allocations: 47.62 kB / 0.9874 GB, free: 5.184 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.1468, allocations: 246.2 kB / 0.9876 GB, free: 4.941 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1482, allocations: 0.8817 MB / 0.9885 GB, free: 4.055 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.1493, allocations: 0.6937 MB / 0.9892 GB, free: 3.359 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00188/0.1512, allocations: 2 MB / 0.9911 GB, free: 1.355 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.1522, allocations: 0.6396 MB / 0.9918 GB, free: 0.707 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.1537, allocations: 1.098 MB / 0.9928 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.1543, allocations: 0.5686 MB / 0.9934 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.1544, allocations: 84 kB / 0.9935 GB, free: 14.99 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.155, allocations: 387.1 kB / 0.9938 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.1553, allocations: 418.8 kB / 0.9942 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.1556, allocations: 355.2 kB / 0.9946 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.1565, allocations: 0.9654 MB / 0.9955 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1565, allocations: 0 / 0.9955 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1565, allocations: 0 / 0.9955 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.1565, allocations: 0 / 0.9955 GB, free: 12.88 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001078/0.1576, allocations: 1.102 MB / 0.9966 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1576, allocations: 12.62 kB / 0.9966 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007001/0.1583, allocations: 256.4 kB / 0.9969 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.159, allocations: 0.5357 MB / 0.9974 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.159, allocations: 62.12 kB / 0.9974 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.1591, allocations: 79.95 kB / 0.9975 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.1597, allocations: 0.768 MB / 0.9983 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.1597, allocations: 15.86 kB / 0.9983 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.1598, allocations: 35.98 kB / 0.9983 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.1598, allocations: 29.31 kB / 0.9983 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.1601, allocations: 256.1 kB / 0.9986 GB, free: 9.562 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.002164/0.1623, allocations: 3.262 MB / 1.002 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.1626, allocations: 386.2 kB / 1.002 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.1627, allocations: 109.8 kB / 1.002 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/0.1628, allocations: 28.31 kB / 1.002 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1628, allocations: 38.89 kB / 1.002 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=42): time 1.663e-06/0.1628, allocations: 0 / 1.002 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001022/0.1638, allocations: 0.6359 MB / 1.003 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.1639, allocations: 110.8 kB / 1.003 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1642, allocations: 478.9 kB / 1.003 GB, free: 4.293 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1642, allocations: 37.7 kB / 1.004 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1644, allocations: 377.2 kB / 1.004 GB, free: 3.875 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.613e-05/0.1644, allocations: 162.6 kB / 1.004 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1646, allocations: 118.2 kB / 1.004 GB, free: 3.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1647, allocations: 378.6 kB / 1.005 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.1647, allocations: 56.12 kB / 1.005 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.165, allocations: 396.7 kB / 1.005 GB, free: 2.648 MB / 0.9636 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.1655, allocations: 0.4932 MB / 1.005 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1655, allocations: 8 kB / 1.005 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003655/0.1658, allocations: 346.8 kB / 1.006 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1658, allocations: 8 kB / 1.006 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1658, allocations: 8 kB / 1.006 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1659, allocations: 8.062 kB / 1.006 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.1661, allocations: 131.8 kB / 1.006 GB, free: 1.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1662, allocations: 15.92 kB / 1.006 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.1664, allocations: 27.95 kB / 1.006 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1664, allocations: 20.19 kB / 1.006 GB, free: 1.492 MB / 0.9636 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.000151/0.1666, allocations: 171.5 kB / 1.006 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/0.1667, allocations: 55.94 kB / 1.006 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.1667, allocations: 70.09 kB / 1.006 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1667, allocations: 11.94 kB / 1.006 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1667, allocations: 0 / 1.006 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002813/0.167, allocations: 483.4 kB / 1.007 GB, free: 0.6211 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.1681, allocations: 1.042 MB / 1.008 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1681, allocations: 4 kB / 1.008 GB, free: 15.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.1684, allocations: 115.1 kB / 1.008 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.1684, allocations: 8 kB / 1.008 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.1684, allocations: 19.94 kB / 1.008 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.1684, allocations: 11.98 kB / 1.008 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1684, allocations: 4 kB / 1.008 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005211/0.1689, allocations: 0.5337 MB / 1.008 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1691, allocations: 91.47 kB / 1.009 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1691, allocations: 15.98 kB / 1.009 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1693, allocations: 20 kB / 1.009 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1694, allocations: 35.83 kB / 1.009 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.1694, allocations: 19.98 kB / 1.009 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000179/0.1696, allocations: 204.4 kB / 1.009 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1696, allocations: 0 / 1.009 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004493/0.17, allocations: 203.9 kB / 1.009 GB, free: 14.14 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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.0003231/0.1704, allocations: 166.9 kB / 1.009 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.1707, allocations: 250.7 kB / 1.009 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.1707, allocations: 8.438 kB / 1.009 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1708, allocations: 113.3 kB / 1.01 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.1716, allocations: 342.7 kB / 1.01 GB, free: 13.29 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1731, allocations: 1.389 MB / 1.011 GB, free: 11.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.1733, allocations: 206.4 kB / 1.011 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002485/0.1735, allocations: 97.31 kB / 1.011 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.174, allocations: 279.1 kB / 1.012 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of SimCode: time 7.81e-07/0.174, allocations: 0 / 1.012 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.01535/0.1893, allocations: 12.84 MB / 1.024 GB, free: 14.74 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.728266222868115]