Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001111/0.001111, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009861/0.0009861, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 1.073/1.073, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.087/2.087, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.399e-05, allocations: 7.125 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1455/0.1456, allocations: 148.4 MB / 1.023 GB, free: 1.457 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006361/0.1519, allocations: 3.44 MB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1531, allocations: 27.75 kB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009222/0.154, allocations: 186.6 kB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.1568, allocations: 0.9401 MB / 1.028 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.1585, allocations: 0.6234 MB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.1609, allocations: 1.728 MB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.1616, allocations: 472.5 kB / 1.03 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1632, allocations: 0.8493 MB / 1.031 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.1645, allocations: 0.5341 MB / 1.032 GB, free: 8.652 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.294e-05/0.1646, allocations: 64 kB / 1.032 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007718/0.1654, allocations: 438.8 kB / 1.032 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.1657, allocations: 307.1 kB / 1.032 GB, free: 7.859 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.1659, allocations: 291.4 kB / 1.033 GB, free: 7.574 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.1672, allocations: 0.8255 MB / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1672, allocations: 0 / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.973e-06/0.1672, allocations: 0 / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.1672, allocations: 0 / 1.033 GB, free: 6.746 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002168/0.1694, allocations: 1.056 MB / 1.035 GB, free: 5.648 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1694, allocations: 8.031 kB / 1.035 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.1705, allocations: 244 kB / 1.035 GB, free: 5.402 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.1711, allocations: 0.4904 MB / 1.035 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1712, allocations: 45.44 kB / 1.035 GB, free: 4.844 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.1712, allocations: 63.94 kB / 1.035 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.1721, allocations: 0.8226 MB / 1.036 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1721, allocations: 4 kB / 1.036 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.1721, allocations: 28 kB / 1.036 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.1722, allocations: 21.31 kB / 1.036 GB, free: 3.789 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.1725, allocations: 223.6 kB / 1.036 GB, free: 3.57 MB / 0.9948 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.002198/0.1747, allocations: 1.537 MB / 1.038 GB, free: 1.984 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.175, allocations: 150.8 kB / 1.038 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.1751, allocations: 63.66 kB / 1.038 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1751, allocations: 8 kB / 1.038 GB, free: 1.754 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1751, allocations: 41.39 kB / 1.038 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.765e-06/0.1751, allocations: 0 / 1.038 GB, free: 1.703 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0008098/0.176, allocations: 330.8 kB / 1.038 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.176, allocations: 81.11 kB / 1.039 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1763, allocations: 446.5 kB / 1.039 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1763, allocations: 33.7 kB / 1.039 GB, free: 0.7773 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1765, allocations: 410.4 kB / 1.039 GB, free: 380 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.1766, allocations: 67.42 kB / 1.039 GB, free: 312 kB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.1767, allocations: 75.64 kB / 1.04 GB, free: 228 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1768, allocations: 0.5235 MB / 1.04 GB, free: 15.69 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.1769, allocations: 44.62 kB / 1.04 GB, free: 15.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.1771, allocations: 191.4 kB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1773, allocations: 212.7 kB / 1.04 GB, free: 15.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1773, allocations: 4 kB / 1.04 GB, free: 15.15 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007574/0.178, allocations: 322 kB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1781, allocations: 6.5 kB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1781, allocations: 4 kB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.1783, allocations: 55.34 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.1784, allocations: 71.91 kB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1804, allocations: 3.648 MB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1806, allocations: 47.77 kB / 1.045 GB, free: 10.74 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1806, allocations: 15.94 kB / 1.045 GB, free: 10.73 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.1807, allocations: 176.5 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1808, allocations: 51.72 kB / 1.045 GB, free: 10.49 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.1808, allocations: 51.67 kB / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1808, allocations: 0 / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1808, allocations: 4 kB / 1.045 GB, free: 10.44 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003251/0.1812, allocations: 412.1 kB / 1.045 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.1818, allocations: 0.6758 MB / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1818, allocations: 0 / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1819, allocations: 39.98 kB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001147/0.182, allocations: 43.64 kB / 1.046 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.182, allocations: 11.94 kB / 1.046 GB, free: 9.137 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.1834, allocations: 1.917 MB / 1.048 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1834, allocations: 3.938 kB / 1.048 GB, free: 7.094 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.1836, allocations: 366.6 kB / 1.048 GB, free: 6.703 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1838, allocations: 79.61 kB / 1.048 GB, free: 6.625 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1838, allocations: 0 / 1.048 GB, free: 6.625 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.184, allocations: 24.02 kB / 1.048 GB, free: 6.602 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.184, allocations: 15.97 kB / 1.048 GB, free: 6.586 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.1841, allocations: 19.98 kB / 1.048 GB, free: 6.566 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001931/0.1843, allocations: 287 kB / 1.049 GB, free: 6.285 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1843, allocations: 3.938 kB / 1.049 GB, free: 6.281 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004989/0.1848, allocations: 223.5 kB / 1.049 GB, free: 6.062 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.185, allocations: 127.2 kB / 1.049 GB, free: 5.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.1855, allocations: 0.5029 MB / 1.049 GB, free: 5.387 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1855, allocations: 4 kB / 1.049 GB, free: 5.383 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1857, allocations: 255 kB / 1.05 GB, free: 5.113 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.1864, allocations: 277.5 kB / 1.05 GB, free: 4.852 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1877, allocations: 0.9096 MB / 1.051 GB, free: 3.902 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.1878, allocations: 149.2 kB / 1.051 GB, free: 3.734 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.188, allocations: 88.12 kB / 1.051 GB, free: 3.645 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.1881, allocations: 32.5 kB / 1.051 GB, free: 3.613 MB / 1.01 GB Notification: Performance of SimCode: time 1.032e-06/0.1881, allocations: 0 / 1.051 GB, free: 3.613 MB / 1.01 GB Notification: Performance of Templates: time 0.4208/0.6089, allocations: 10.56 MB / 1.061 GB, free: 77.33 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.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: 6.447323079686612]