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.0007847/0.0007847, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009885/0.001773, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006976/0.0006976, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001628, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9447/0.9447, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08635/1.031, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.392/2.392, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2448/2.637, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.984e-06/1.984e-06, allocations: 0 / 0.8183 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.567e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1375/0.1375, allocations: 149.4 MB / 0.9643 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.1421, allocations: 3.279 MB / 0.9675 GB, free: 9.527 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004567/0.1425, allocations: 43.62 kB / 0.9675 GB, free: 9.484 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005458/0.1431, allocations: 258.1 kB / 0.9678 GB, free: 9.23 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.1445, allocations: 0.8857 MB / 0.9686 GB, free: 8.34 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.1454, allocations: 0.6859 MB / 0.9693 GB, free: 7.652 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1468, allocations: 1.988 MB / 0.9713 GB, free: 5.656 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.1476, allocations: 0.6486 MB / 0.9719 GB, free: 4.992 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.1489, allocations: 1.189 MB / 0.9731 GB, free: 3.84 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1494, allocations: 0.5608 MB / 0.9736 GB, free: 3.277 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.41e-05/0.1495, allocations: 80 kB / 0.9737 GB, free: 3.199 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005076/0.15, allocations: 395.1 kB / 0.9741 GB, free: 2.812 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.1502, allocations: 363.1 kB / 0.9744 GB, free: 2.457 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.1505, allocations: 299.4 kB / 0.9747 GB, free: 2.164 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008415/0.1513, allocations: 0.8799 MB / 0.9755 GB, free: 1.281 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.1513, allocations: 0 / 0.9755 GB, free: 1.281 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1513, allocations: 0 / 0.9755 GB, free: 1.281 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.1513, allocations: 0 / 0.9755 GB, free: 1.281 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.001251/0.1526, allocations: 1.322 MB / 0.9768 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.1526, allocations: 8.625 kB / 0.9768 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/0.1533, allocations: 345.5 kB / 0.9772 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/0.1539, allocations: 0.5396 MB / 0.9777 GB, free: 15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1539, allocations: 61.56 kB / 0.9778 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.154, allocations: 87.94 kB / 0.9778 GB, free: 14.85 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.1547, allocations: 0.7718 MB / 0.9786 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1547, allocations: 7.938 kB / 0.9786 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1547, allocations: 32 kB / 0.9786 GB, free: 13.93 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.1548, allocations: 25.31 kB / 0.9787 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.155, allocations: 264.1 kB / 0.9789 GB, free: 13.64 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.002216/0.1573, allocations: 3.293 MB / 0.9821 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.1575, allocations: 368.4 kB / 0.9825 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.1576, allocations: 107.7 kB / 0.9826 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.1577, allocations: 24.31 kB / 0.9826 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1577, allocations: 42.83 kB / 0.9826 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.1577, allocations: 0 / 0.9826 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44): time 0.00104/0.1588, allocations: 0.6389 MB / 0.9833 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1588, allocations: 106.8 kB / 0.9834 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.1591, allocations: 475 kB / 0.9838 GB, free: 8.367 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.1591, allocations: 33.7 kB / 0.9839 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1593, allocations: 377.2 kB / 0.9842 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.1593, allocations: 166.6 kB / 0.9844 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.1595, allocations: 118.3 kB / 0.9845 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1596, allocations: 378.6 kB / 0.9848 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.822e-05/0.1596, allocations: 60.05 kB / 0.9849 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.1599, allocations: 396.7 kB / 0.9853 GB, free: 6.719 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.000486/0.1603, allocations: 0.502 MB / 0.9858 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1603, allocations: 0 / 0.9858 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003359/0.1607, allocations: 349.1 kB / 0.9861 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1607, allocations: 8 kB / 0.9861 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1607, allocations: 8.781 kB / 0.9861 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1607, allocations: 8 kB / 0.9861 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.161, allocations: 143.8 kB / 0.9863 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.161, allocations: 11.94 kB / 0.9863 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1613, allocations: 31.89 kB / 0.9863 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1613, allocations: 32.05 kB / 0.9863 GB, free: 5.535 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.0001476/0.1614, allocations: 156.5 kB / 0.9865 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1615, allocations: 59.92 kB / 0.9865 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.1616, allocations: 74.09 kB / 0.9866 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1616, allocations: 4 kB / 0.9866 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1616, allocations: 4 kB / 0.9866 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002514/0.1618, allocations: 487.6 kB / 0.9871 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/0.1628, allocations: 1.042 MB / 0.9881 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1628, allocations: 4 kB / 0.9881 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.1631, allocations: 122.7 kB / 0.9882 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1632, allocations: 87.55 kB / 0.9883 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1633, allocations: 4 kB / 0.9883 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1633, allocations: 12 kB / 0.9883 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.1633, allocations: 7.938 kB / 0.9883 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1633, allocations: 4 kB / 0.9883 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.164, allocations: 0.5415 MB / 0.9889 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.164, allocations: 15.94 kB / 0.9889 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1642, allocations: 19.98 kB / 0.9889 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.1643, allocations: 35.89 kB / 0.9889 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1643, allocations: 12 kB / 0.9889 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001387/0.1644, allocations: 204.4 kB / 0.9891 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.1644, allocations: 0 / 0.9891 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003981/0.1648, allocations: 207.9 kB / 0.9893 GB, free: 2.195 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.0003117/0.1651, allocations: 170.2 kB / 0.9895 GB, free: 2.031 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002857/0.1654, allocations: 246.3 kB / 0.9897 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.1654, allocations: 8 kB / 0.9897 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1655, allocations: 115.4 kB / 0.9899 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.1663, allocations: 414.7 kB / 0.9903 GB, free: 1.277 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003789/0.1701, allocations: 1.456 MB / 0.9917 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1703, allocations: 214.2 kB / 0.9919 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002323/0.1705, allocations: 101.3 kB / 0.992 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.1709, allocations: 279 kB / 0.9922 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of SimCode: time 7.62e-07/0.1709, allocations: 0 / 0.9922 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of Templates: time 0.01528/0.1862, allocations: 13.55 MB / 1.005 GB, free: 1.949 MB / 0.9792 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.536007446236908]