Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0007651/0.0007651, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001819, 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.0006953/0.0006953, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009328/0.001628, 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.9736/0.9736, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.104/1.078, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.869/1.869, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.455/2.324, allocations: 123.3 MB / 0.728 GB, free: 5.801 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.391e-05, allocations: 5.969 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1444/0.1444, allocations: 150.6 MB / 0.8764 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006434/0.1508, allocations: 3.93 MB / 0.8803 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009026/0.1517, allocations: 55.5 kB / 0.8803 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.1523, allocations: 285.9 kB / 0.8806 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.1542, allocations: 1.057 MB / 0.8816 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.1559, allocations: 0.9563 MB / 0.8826 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.1585, allocations: 2.531 MB / 0.885 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.1599, allocations: 0.7787 MB / 0.8858 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.162, allocations: 1.49 MB / 0.8873 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009772/0.163, allocations: 0.7205 MB / 0.888 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1631, allocations: 100 kB / 0.8881 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.1642, allocations: 0.6431 MB / 0.8887 GB, free: 1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.1645, allocations: 470.9 kB / 0.8891 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.1649, allocations: 371.3 kB / 0.8895 GB, free: 180 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.1663, allocations: 1.203 MB / 0.8907 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.1664, allocations: 0 / 0.8907 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1664, allocations: 0 / 0.8907 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.061e-05/0.1664, allocations: 0 / 0.8907 GB, free: 14.97 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002146/0.1685, allocations: 1.585 MB / 0.8922 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1686, allocations: 8.031 kB / 0.8922 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.1698, allocations: 461.2 kB / 0.8927 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1706, allocations: 0.6205 MB / 0.8933 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.1707, allocations: 70.12 kB / 0.8933 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.1708, allocations: 95.89 kB / 0.8934 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.172, allocations: 1.085 MB / 0.8945 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.172, allocations: 0 / 0.8945 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.172, allocations: 43.98 kB / 0.8945 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/0.1721, allocations: 33.98 kB / 0.8946 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.1725, allocations: 280.5 kB / 0.8948 GB, free: 10.49 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.002656/0.1751, allocations: 2.549 MB / 0.8973 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.1757, allocations: 222.8 kB / 0.8975 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.1758, allocations: 83.06 kB / 0.8976 GB, free: 7.547 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-05/0.1758, allocations: 19.98 kB / 0.8976 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1759, allocations: 46.42 kB / 0.8977 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.355e-06/0.1759, allocations: 4 kB / 0.8977 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.001092/0.177, allocations: 0.6047 MB / 0.8983 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.177, allocations: 59.16 kB / 0.8983 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1774, allocations: 0.5856 MB / 0.8989 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1774, allocations: 37.69 kB / 0.8989 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1776, allocations: 452.7 kB / 0.8994 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.1777, allocations: 142.8 kB / 0.8995 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.1778, allocations: 122.1 kB / 0.8996 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.1779, allocations: 382.6 kB / 0.9 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.178, allocations: 60.11 kB / 0.9 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.1782, allocations: 283.3 kB / 0.9003 GB, free: 4.598 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.1787, allocations: 481.5 kB / 0.9008 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1787, allocations: 0 / 0.9008 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0003881/0.1791, allocations: 358.8 kB / 0.9011 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1791, allocations: 9.875 kB / 0.9011 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1791, allocations: 11.94 kB / 0.9011 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1791, allocations: 8 kB / 0.9011 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.1795, allocations: 155.8 kB / 0.9013 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1795, allocations: 11.94 kB / 0.9013 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.1798, allocations: 39.97 kB / 0.9013 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.1798, allocations: 20 kB / 0.9013 GB, free: 3.434 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0001578/0.18, allocations: 160.5 kB / 0.9015 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.1801, allocations: 59.94 kB / 0.9016 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.1801, allocations: 82.92 kB / 0.9016 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1801, allocations: 4 kB / 0.9016 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1802, allocations: 3.938 kB / 0.9016 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002452/0.1804, allocations: 465.1 kB / 0.9021 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.1814, allocations: 0.9412 MB / 0.903 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1814, allocations: 4 kB / 0.903 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.1817, allocations: 111.2 kB / 0.9031 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1818, allocations: 111.4 kB / 0.9032 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1818, allocations: 8 kB / 0.9032 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1818, allocations: 8 kB / 0.9032 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.1818, allocations: 11.94 kB / 0.9032 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1818, allocations: 4 kB / 0.9033 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.1823, allocations: 0.5323 MB / 0.9038 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.1823, allocations: 15.98 kB / 0.9038 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.1826, allocations: 31.98 kB / 0.9038 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1826, allocations: 35.83 kB / 0.9039 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.1827, allocations: 19.98 kB / 0.9039 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003498/0.183, allocations: 272.5 kB / 0.9041 GB, free: 312 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.183, allocations: 0 / 0.9041 GB, free: 312 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004966/0.1835, allocations: 251.9 kB / 0.9044 GB, free: 60 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0002565/0.1838, allocations: 156.2 kB / 0.9045 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.1841, allocations: 242.4 kB / 0.9048 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.999e-05/0.1841, allocations: 12.94 kB / 0.9048 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.918e-05/0.1842, allocations: 103 kB / 0.9049 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.1852, allocations: 0.5452 MB / 0.9054 GB, free: 15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.1905, allocations: 1.616 MB / 0.907 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.1907, allocations: 230.9 kB / 0.9072 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004454/0.1911, allocations: 122.4 kB / 0.9073 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000639/0.1918, allocations: 373 kB / 0.9077 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of SimCode: time 1.644e-06/0.1918, allocations: 0 / 0.9077 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of Templates: time 0.02395/0.2157, allocations: 17.77 MB / 0.925 GB, free: 11.21 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.399854390881956]