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.001065/0.001065, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001729/0.002795, allocations: 440 kB / 10.41 MB, free: 284 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.001073/0.001073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002496, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9449/0.9449, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.38/2.38, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2401/2.62, allocations: 146 MB / 0.8176 GB, free: 3.812 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.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.173e-06/1.173e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.156e-05, allocations: 2.312 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1308/0.1308, allocations: 149.5 MB / 0.9649 GB, free: 12.4 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.136, allocations: 3.291 MB / 0.9681 GB, free: 9.105 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006863/0.1367, allocations: 43.69 kB / 0.9682 GB, free: 9.062 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.1373, allocations: 254.1 kB / 0.9684 GB, free: 8.812 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.1389, allocations: 0.8817 MB / 0.9693 GB, free: 7.926 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1401, allocations: 0.6781 MB / 0.9699 GB, free: 7.246 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002152/0.1422, allocations: 1.996 MB / 0.9719 GB, free: 5.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.1435, allocations: 0.6508 MB / 0.9725 GB, free: 4.578 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.1456, allocations: 1.166 MB / 0.9737 GB, free: 3.445 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008053/0.1464, allocations: 0.5686 MB / 0.9742 GB, free: 2.875 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1465, allocations: 80 kB / 0.9743 GB, free: 2.797 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007353/0.1472, allocations: 391.1 kB / 0.9747 GB, free: 2.414 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002823/0.1475, allocations: 367.1 kB / 0.975 GB, free: 2.055 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.1478, allocations: 295.4 kB / 0.9753 GB, free: 1.766 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.1491, allocations: 0.8875 MB / 0.9762 GB, free: 0.875 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.712e-05/0.1491, allocations: 0 / 0.9762 GB, free: 0.875 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1491, allocations: 0 / 0.9762 GB, free: 0.875 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.75e-05/0.1491, allocations: 0 / 0.9762 GB, free: 0.875 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001438/0.1505, allocations: 1.321 MB / 0.9775 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.1506, allocations: 8.031 kB / 0.9775 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.1513, allocations: 345.5 kB / 0.9778 GB, free: 15.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006842/0.152, allocations: 0.5473 MB / 0.9783 GB, free: 14.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.1521, allocations: 62.12 kB / 0.9784 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.1521, allocations: 80 kB / 0.9785 GB, free: 14.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.1527, allocations: 0.7718 MB / 0.9792 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.1528, allocations: 0 / 0.9792 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.1528, allocations: 32 kB / 0.9793 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.1528, allocations: 33.25 kB / 0.9793 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.1531, allocations: 272.1 kB / 0.9795 GB, free: 13.22 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.002506/0.1556, allocations: 3.273 MB / 0.9827 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1559, allocations: 374.2 kB / 0.9831 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.156, allocations: 99.67 kB / 0.9832 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.1561, allocations: 24.31 kB / 0.9832 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1562, allocations: 42.89 kB / 0.9833 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.1562, allocations: 4 kB / 0.9833 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.001227/0.1574, allocations: 0.662 MB / 0.9839 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.1574, allocations: 110.8 kB / 0.984 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.1577, allocations: 475 kB / 0.9845 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1578, allocations: 37.7 kB / 0.9845 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1579, allocations: 373.5 kB / 0.9849 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.158, allocations: 166.6 kB / 0.985 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.1581, allocations: 114.2 kB / 0.9851 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1582, allocations: 374.6 kB / 0.9855 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.1583, allocations: 56.11 kB / 0.9855 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1584, allocations: 400.7 kB / 0.9859 GB, free: 6.297 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.0004937/0.1589, allocations: 0.526 MB / 0.9864 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1589, allocations: 0 / 0.9864 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003629/0.1593, allocations: 349.1 kB / 0.9868 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1593, allocations: 8.781 kB / 0.9868 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.1593, allocations: 8 kB / 0.9868 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1594, allocations: 12 kB / 0.9868 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.1597, allocations: 139.8 kB / 0.9869 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1597, allocations: 11.98 kB / 0.9869 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.1599, allocations: 27.94 kB / 0.987 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.588e-05/0.16, allocations: 24 kB / 0.987 GB, free: 5.102 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.0003734/0.1603, allocations: 161.5 kB / 0.9871 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.1604, allocations: 59.94 kB / 0.9872 GB, free: 4.875 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.1605, allocations: 70.09 kB / 0.9873 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1605, allocations: 8 kB / 0.9873 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1605, allocations: 0 / 0.9873 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002648/0.1608, allocations: 475.7 kB / 0.9877 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1619, allocations: 1.05 MB / 0.9888 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.1619, allocations: 12 kB / 0.9888 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1622, allocations: 122.6 kB / 0.9889 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.1623, allocations: 91.53 kB / 0.989 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.1623, allocations: 7.984 kB / 0.989 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.1623, allocations: 16 kB / 0.989 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.1623, allocations: 4.25 kB / 0.989 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1624, allocations: 11.94 kB / 0.989 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004295/0.1628, allocations: 0.5298 MB / 0.9895 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.1628, allocations: 12 kB / 0.9895 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.163, allocations: 16 kB / 0.9895 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.1631, allocations: 43.81 kB / 0.9896 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1631, allocations: 16 kB / 0.9896 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001527/0.1632, allocations: 204.3 kB / 0.9898 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1632, allocations: 4 kB / 0.9898 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004852/0.1637, allocations: 207.9 kB / 0.99 GB, free: 1.746 MB / 0.9636 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.0003985/0.1641, allocations: 166.9 kB / 0.9902 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.1644, allocations: 256.4 kB / 0.9904 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/0.1644, allocations: 12 kB / 0.9904 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.1646, allocations: 235.4 kB / 0.9906 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.1659, allocations: 2.112 MB / 0.9927 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.17, allocations: 1.447 MB / 0.9941 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.1702, allocations: 210.3 kB / 0.9943 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003287/0.1705, allocations: 101.3 kB / 0.9944 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.1709, allocations: 271.1 kB / 0.9947 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of SimCode: time 1.353e-06/0.1709, allocations: 0 / 0.9947 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of Templates: time 0.01751/0.1884, allocations: 13.4 MB / 1.008 GB, free: 15.45 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.686192689463496]