Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001222/0.001222, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00192/0.003142, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.001116/0.001116, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001387/0.002504, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.9346/0.9346, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0845/1.019, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.394/2.394, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2371/2.631, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.232e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1442/0.1443, allocations: 149.3 MB / 0.9641 GB, free: 12.97 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005457/0.1497, allocations: 3.225 MB / 0.9673 GB, free: 9.738 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009868/0.1507, allocations: 39.69 kB / 0.9673 GB, free: 9.699 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.1514, allocations: 230.3 kB / 0.9675 GB, free: 9.473 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.1528, allocations: 0.7419 MB / 0.9683 GB, free: 8.727 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1542, allocations: 0.6806 MB / 0.9689 GB, free: 8.047 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1561, allocations: 1.476 MB / 0.9704 GB, free: 6.562 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.1572, allocations: 0.5041 MB / 0.9709 GB, free: 6.066 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.1585, allocations: 0.9172 MB / 0.9718 GB, free: 5.184 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.1589, allocations: 406.7 kB / 0.9721 GB, free: 4.785 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.159, allocations: 52 kB / 0.9722 GB, free: 4.734 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008234/0.1598, allocations: 0.5223 MB / 0.9727 GB, free: 4.211 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.1601, allocations: 267.2 kB / 0.973 GB, free: 3.949 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.1603, allocations: 219.5 kB / 0.9732 GB, free: 3.734 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1614, allocations: 0.7787 MB / 0.9739 GB, free: 2.953 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.1614, allocations: 4 kB / 0.9739 GB, free: 2.949 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1615, allocations: 0 / 0.9739 GB, free: 2.949 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.1615, allocations: 0 / 0.9739 GB, free: 2.949 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001168/0.1626, allocations: 1.126 MB / 0.975 GB, free: 1.797 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1627, allocations: 12.62 kB / 0.975 GB, free: 1.785 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005842/0.1633, allocations: 269.7 kB / 0.9753 GB, free: 1.504 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.1638, allocations: 455.8 kB / 0.9757 GB, free: 1.027 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.1639, allocations: 49.44 kB / 0.9758 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.1639, allocations: 59.98 kB / 0.9758 GB, free: 0.9219 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005884/0.1645, allocations: 0.6114 MB / 0.9764 GB, free: 196 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.1645, allocations: 3.938 kB / 0.9764 GB, free: 192 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.1646, allocations: 28 kB / 0.9765 GB, free: 164 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.1646, allocations: 24.98 kB / 0.9765 GB, free: 140 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002426/0.1648, allocations: 207.4 kB / 0.9767 GB, free: 15.93 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.002418/0.1673, allocations: 3.672 MB / 0.9803 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1674, allocations: 254 kB / 0.9805 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.1674, allocations: 52.08 kB / 0.9806 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.1675, allocations: 19.98 kB / 0.9806 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1676, allocations: 38.5 kB / 0.9806 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/0.1676, allocations: 0 / 0.9806 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002847/0.1678, allocations: 117.7 kB / 0.9807 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1679, allocations: 132.5 kB / 0.9809 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/0.1682, allocations: 499.2 kB / 0.9813 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1683, allocations: 29.7 kB / 0.9814 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1684, allocations: 380.7 kB / 0.9817 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1684, allocations: 39.72 kB / 0.9818 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.1685, allocations: 81.95 kB / 0.9818 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1686, allocations: 366.7 kB / 0.9822 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.1687, allocations: 27.56 kB / 0.9822 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.1689, allocations: 397 kB / 0.9826 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.1691, allocations: 339.7 kB / 0.9829 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.1691, allocations: 4 kB / 0.9829 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005803/0.1697, allocations: 280.9 kB / 0.9832 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1697, allocations: 8.156 kB / 0.9832 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1697, allocations: 12 kB / 0.9832 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1697, allocations: 15.94 kB / 0.9832 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.1699, allocations: 99.95 kB / 0.9833 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1699, allocations: 15.92 kB / 0.9833 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.1702, allocations: 75.59 kB / 0.9834 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1702, allocations: 28 kB / 0.9834 GB, free: 8.445 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (45): * Single equations (assignments): 45 * 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.0001151/0.1703, allocations: 140.5 kB / 0.9836 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.1704, allocations: 39.95 kB / 0.9836 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.531e-05/0.1704, allocations: 47.66 kB / 0.9837 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1704, allocations: 3.938 kB / 0.9837 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1704, allocations: 0 / 0.9837 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1704, allocations: 4 kB / 0.9837 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.1711, allocations: 0.8311 MB / 0.9845 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1711, allocations: 4 kB / 0.9845 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.1711, allocations: 23.92 kB / 0.9845 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1712, allocations: 51.66 kB / 0.9846 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.1712, allocations: 4 kB / 0.9846 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.1712, allocations: 4 kB / 0.9846 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.1713, allocations: 4 kB / 0.9846 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1713, allocations: 0 / 0.9846 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1714, allocations: 200.3 kB / 0.9848 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.1715, allocations: 4 kB / 0.9848 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1716, allocations: 12 kB / 0.9848 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1716, allocations: 19.86 kB / 0.9848 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1716, allocations: 4 kB / 0.9848 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001688/0.1718, allocations: 212.4 kB / 0.985 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.1718, allocations: 0 / 0.985 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004292/0.1722, allocations: 179.5 kB / 0.9852 GB, free: 6.539 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (9): * Single equations (assignments): 9 * 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.0003714/0.1726, allocations: 170.1 kB / 0.9853 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1728, allocations: 137 kB / 0.9855 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.99e-05/0.1728, allocations: 12.5 kB / 0.9855 GB, free: 6.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.1728, allocations: 30.3 kB / 0.9855 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.1733, allocations: 245.8 kB / 0.9857 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.1768, allocations: 1.014 MB / 0.9867 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.1769, allocations: 157.2 kB / 0.9869 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.1771, allocations: 68.72 kB / 0.9869 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.1773, allocations: 187.1 kB / 0.9871 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of SimCode: time 1.031e-06/0.1773, allocations: 4 kB / 0.9871 GB, free: 4.469 MB / 0.9636 GB Notification: Performance of Templates: time 0.01186/0.1892, allocations: 8.42 MB / 0.9953 GB, free: 12.28 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.ref.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.497301992028952]