Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001157/0.001157, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002649, 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.00108/0.00108, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.00238, 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.975/0.975, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.077, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.812/1.812, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4849/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7294 GB, free: 4.484 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.11e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1457/0.1457, allocations: 149.3 MB / 0.8752 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00633/0.152, allocations: 3.254 MB / 0.8784 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009862/0.153, allocations: 39.69 kB / 0.8784 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.1538, allocations: 234.3 kB / 0.8786 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1554, allocations: 0.738 MB / 0.8793 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1571, allocations: 0.6994 MB / 0.88 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001889/0.159, allocations: 1.476 MB / 0.8815 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.1603, allocations: 0.5242 MB / 0.882 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.1619, allocations: 0.9328 MB / 0.8829 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005898/0.1625, allocations: 398.7 kB / 0.8833 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.1627, allocations: 52 kB / 0.8833 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1637, allocations: 0.53 MB / 0.8838 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.1639, allocations: 267.2 kB / 0.8841 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.1642, allocations: 211.6 kB / 0.8843 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.1654, allocations: 0.7787 MB / 0.885 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.869e-05/0.1654, allocations: 0 / 0.885 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1654, allocations: 0 / 0.885 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.166e-05/0.1654, allocations: 0 / 0.885 GB, free: 4.734 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001381/0.1668, allocations: 1.13 MB / 0.8862 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1669, allocations: 15.97 kB / 0.8862 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/0.1675, allocations: 277.7 kB / 0.8864 GB, free: 3.273 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.1682, allocations: 455.8 kB / 0.8869 GB, free: 2.801 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-05/0.1682, allocations: 53.42 kB / 0.8869 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.1683, allocations: 56 kB / 0.887 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006998/0.169, allocations: 0.6153 MB / 0.8876 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.169, allocations: 3.938 kB / 0.8876 GB, free: 1.953 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.1691, allocations: 24 kB / 0.8876 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.1691, allocations: 21 kB / 0.8876 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.1694, allocations: 213.7 kB / 0.8878 GB, free: 1.695 MB / 0.8542 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.002599/0.172, allocations: 3.672 MB / 0.8914 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1721, allocations: 250 kB / 0.8916 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.113e-05/0.1722, allocations: 52.09 kB / 0.8917 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1723, allocations: 19.98 kB / 0.8917 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.565e-05/0.1723, allocations: 42.5 kB / 0.8918 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.1723, allocations: 0 / 0.8918 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0003302/0.1727, allocations: 109.4 kB / 0.8919 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.1727, allocations: 132.8 kB / 0.892 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.1732, allocations: 0.4988 MB / 0.8925 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1732, allocations: 29.7 kB / 0.8925 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1734, allocations: 376.7 kB / 0.8929 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1734, allocations: 43.72 kB / 0.8929 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.1735, allocations: 77.95 kB / 0.893 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1736, allocations: 362.7 kB / 0.8933 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.211e-05/0.1737, allocations: 39.56 kB / 0.8934 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.174, allocations: 396.8 kB / 0.8937 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.1742, allocations: 343.6 kB / 0.8941 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1742, allocations: 0 / 0.8941 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003549/0.1746, allocations: 289.5 kB / 0.8943 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1746, allocations: 10.5 kB / 0.8944 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1746, allocations: 8 kB / 0.8944 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1747, allocations: 15.88 kB / 0.8944 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.1749, allocations: 99.83 kB / 0.8945 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1749, allocations: 15.94 kB / 0.8945 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.1752, allocations: 67.8 kB / 0.8946 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.816e-05/0.1753, allocations: 16 kB / 0.8946 GB, free: 10.22 MB / 0.8698 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.0001322/0.1754, allocations: 148.4 kB / 0.8947 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.1755, allocations: 39.94 kB / 0.8947 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.391e-05/0.1755, allocations: 47.75 kB / 0.8948 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1755, allocations: 3.938 kB / 0.8948 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1755, allocations: 0 / 0.8948 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1756, allocations: 4 kB / 0.8948 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007897/0.1763, allocations: 0.8312 MB / 0.8956 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1763, allocations: 4 kB / 0.8956 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.1764, allocations: 19.94 kB / 0.8956 GB, free: 9.047 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.1765, allocations: 63.53 kB / 0.8957 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1765, allocations: 4 kB / 0.8957 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1765, allocations: 4 kB / 0.8957 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1765, allocations: 4 kB / 0.8957 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1765, allocations: 416 / 0.8957 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.1767, allocations: 200 kB / 0.8959 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.1767, allocations: 8 kB / 0.8959 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1769, allocations: 8 kB / 0.8959 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.1769, allocations: 15.92 kB / 0.8959 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1769, allocations: 4 kB / 0.8959 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002108/0.1771, allocations: 212.4 kB / 0.8961 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1771, allocations: 0 / 0.8961 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005295/0.1776, allocations: 175.5 kB / 0.8963 GB, free: 8.309 MB / 0.8698 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.0004085/0.178, allocations: 171.2 kB / 0.8965 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.1783, allocations: 144.8 kB / 0.8966 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.017e-05/0.1783, allocations: 12.5 kB / 0.8966 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.1783, allocations: 34.22 kB / 0.8966 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007837/0.1791, allocations: 251.5 kB / 0.8969 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007269/0.1864, allocations: 1.025 MB / 0.8979 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001269/0.1865, allocations: 157.2 kB / 0.898 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.1867, allocations: 68.53 kB / 0.8981 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.1871, allocations: 191.1 kB / 0.8983 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/0.1871, allocations: 4 kB / 0.8983 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of Templates: time 0.01384/0.2009, allocations: 8.525 MB / 0.9066 GB, free: 13.91 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState/Buildings_12_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.059880982153118]