Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008114/0.0008114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001039/0.00185, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006978/0.0006978, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009839/0.001682, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9681/0.9681, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1245/1.093, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4819/2.328, allocations: 123.3 MB / 0.728 GB, free: 5.832 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7294 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.925e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1405/0.1406, allocations: 149.5 MB / 0.8753 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004868/0.1454, allocations: 3.3 MB / 0.8786 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.1459, allocations: 47.62 kB / 0.8786 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.1466, allocations: 262 kB / 0.8788 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.1479, allocations: 0.8779 MB / 0.8797 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.149, allocations: 0.6879 MB / 0.8804 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001791/0.1508, allocations: 2.011 MB / 0.8823 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1518, allocations: 0.6464 MB / 0.883 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1532, allocations: 1.205 MB / 0.8841 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.1539, allocations: 0.5647 MB / 0.8847 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.684e-05/0.154, allocations: 76 kB / 0.8848 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000572/0.1545, allocations: 395.1 kB / 0.8851 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.1548, allocations: 363.1 kB / 0.8855 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.155, allocations: 291.4 kB / 0.8858 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1561, allocations: 0.8836 MB / 0.8866 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.1561, allocations: 0 / 0.8866 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1561, allocations: 0 / 0.8866 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.1561, allocations: 0 / 0.8866 GB, free: 3.125 MB / 0.8542 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.001222/0.1573, allocations: 1.325 MB / 0.8879 GB, free: 1.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1574, allocations: 8.031 kB / 0.8879 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006498/0.158, allocations: 337.5 kB / 0.8883 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.1586, allocations: 0.5474 MB / 0.8888 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1586, allocations: 62.12 kB / 0.8889 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.1587, allocations: 79.95 kB / 0.8889 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.1593, allocations: 0.7718 MB / 0.8897 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1593, allocations: 7.938 kB / 0.8897 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.1594, allocations: 32 kB / 0.8897 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.1594, allocations: 25.31 kB / 0.8897 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.1597, allocations: 260.1 kB / 0.89 GB, free: 15.48 MB / 0.8698 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.002051/0.1617, allocations: 3.27 MB / 0.8932 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1621, allocations: 390.2 kB / 0.8936 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.1622, allocations: 109.8 kB / 0.8937 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/0.1622, allocations: 28.31 kB / 0.8937 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1623, allocations: 42.83 kB / 0.8937 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=42): time 1.974e-06/0.1623, allocations: 0 / 0.8937 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44): time 0.001007/0.1633, allocations: 0.6483 MB / 0.8944 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1633, allocations: 110.8 kB / 0.8945 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.1636, allocations: 475 kB / 0.8949 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1636, allocations: 29.7 kB / 0.895 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1638, allocations: 385.2 kB / 0.8953 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.1639, allocations: 162.6 kB / 0.8955 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.164, allocations: 114.2 kB / 0.8956 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1641, allocations: 378.6 kB / 0.8959 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1643, allocations: 56.06 kB / 0.896 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.1645, allocations: 392.7 kB / 0.8964 GB, free: 8.562 MB / 0.8698 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.000491/0.165, allocations: 0.5013 MB / 0.8969 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.165, allocations: 0 / 0.8969 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003329/0.1653, allocations: 358.3 kB / 0.8972 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1653, allocations: 8 kB / 0.8972 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.1653, allocations: 8 kB / 0.8972 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1653, allocations: 8 kB / 0.8972 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.1656, allocations: 139.8 kB / 0.8974 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1656, allocations: 11.94 kB / 0.8974 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.1658, allocations: 24.27 kB / 0.8974 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.1658, allocations: 31.98 kB / 0.8974 GB, free: 7.383 MB / 0.8698 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.0001358/0.166, allocations: 160.5 kB / 0.8976 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.166, allocations: 55.94 kB / 0.8976 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.1661, allocations: 74.25 kB / 0.8977 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1661, allocations: 8 kB / 0.8977 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1661, allocations: 0 / 0.8977 GB, free: 7.078 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000237/0.1664, allocations: 479.5 kB / 0.8982 GB, free: 6.523 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009866/0.1674, allocations: 1.04 MB / 0.8992 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1674, allocations: 4 kB / 0.8992 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.1678, allocations: 127.1 kB / 0.8993 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1679, allocations: 99.47 kB / 0.8994 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1679, allocations: 4 kB / 0.8994 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.168, allocations: 12 kB / 0.8994 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.168, allocations: 11.92 kB / 0.8994 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.168, allocations: 4 kB / 0.8994 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.1684, allocations: 0.5343 MB / 0.9 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.1684, allocations: 19.98 kB / 0.9 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.1686, allocations: 16 kB / 0.9 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1686, allocations: 43.83 kB / 0.9 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1687, allocations: 15.98 kB / 0.9 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001424/0.1688, allocations: 204.4 kB / 0.9002 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 0.9002 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003799/0.1692, allocations: 199.9 kB / 0.9004 GB, free: 4.035 MB / 0.8698 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.0003397/0.1695, allocations: 161.3 kB / 0.9006 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1698, allocations: 242.7 kB / 0.9008 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/0.1698, allocations: 16.44 kB / 0.9008 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.886e-05/0.1699, allocations: 112.8 kB / 0.9009 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.1707, allocations: 415.7 kB / 0.9013 GB, free: 3.121 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.1745, allocations: 1.463 MB / 0.9028 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.1747, allocations: 210.4 kB / 0.903 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.1749, allocations: 101.4 kB / 0.9031 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.1753, allocations: 279 kB / 0.9033 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of SimCode: time 6.82e-07/0.1753, allocations: 0 / 0.9033 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of Templates: time 0.01505/0.1904, allocations: 13.58 MB / 0.9166 GB, free: 3.738 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance/Buildings_12_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.384655399248004]