Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008225/0.0008225, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001027/0.001849, 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.0007104/0.0007104, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009173/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.9392/0.9392, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09287/1.032, 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.794/1.794, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4568/2.251, allocations: 123.3 MB / 0.728 GB, free: 5.816 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.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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.565e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1569/0.1569, allocations: 148.2 MB / 0.874 GB, free: 16 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006496/0.1634, allocations: 3.504 MB / 0.8775 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007397/0.1641, allocations: 31.75 kB / 0.8775 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.1647, allocations: 198.5 kB / 0.8777 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.1667, allocations: 0.9246 MB / 0.8786 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1681, allocations: 0.6039 MB / 0.8792 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.1699, allocations: 1.726 MB / 0.8809 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009685/0.1708, allocations: 478.2 kB / 0.8813 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.1724, allocations: 1.014 MB / 0.8823 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.1731, allocations: 498.6 kB / 0.8828 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.741e-05/0.1732, allocations: 68 kB / 0.8828 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.1739, allocations: 359.1 kB / 0.8832 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.1741, allocations: 247.4 kB / 0.8834 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002872/0.1744, allocations: 247.6 kB / 0.8837 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.1754, allocations: 0.7165 MB / 0.8844 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.1754, allocations: 0 / 0.8844 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1754, allocations: 0 / 0.8844 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.736e-05/0.1755, allocations: 0 / 0.8844 GB, free: 5.441 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001447/0.1769, allocations: 1.143 MB / 0.8855 GB, free: 4.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1769, allocations: 12.02 kB / 0.8855 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/0.1777, allocations: 212.4 kB / 0.8857 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.1783, allocations: 406.3 kB / 0.8861 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1784, allocations: 49.44 kB / 0.8861 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.1784, allocations: 56 kB / 0.8862 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/0.1791, allocations: 0.78 MB / 0.8869 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1791, allocations: 0 / 0.8869 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/0.1792, allocations: 24 kB / 0.887 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.1792, allocations: 21.31 kB / 0.887 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1795, allocations: 176 kB / 0.8871 GB, free: 2.398 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.001905/0.1814, allocations: 1.251 MB / 0.8884 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/0.1817, allocations: 176.1 kB / 0.8885 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1817, allocations: 41.19 kB / 0.8886 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1817, allocations: 4 kB / 0.8886 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1818, allocations: 38.52 kB / 0.8886 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.1818, allocations: 0 / 0.8886 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0007367/0.1825, allocations: 275 kB / 0.8889 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1825, allocations: 59.34 kB / 0.8889 GB, free: 496 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.1828, allocations: 363.2 kB / 0.8893 GB, free: 120 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1828, allocations: 33.69 kB / 0.8893 GB, free: 80 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.183, allocations: 312.6 kB / 0.8896 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.1831, allocations: 75.36 kB / 0.8897 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.1832, allocations: 69.95 kB / 0.8898 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1833, allocations: 354.7 kB / 0.8901 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.1833, allocations: 39.47 kB / 0.8901 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.1834, allocations: 148.3 kB / 0.8903 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1836, allocations: 163.1 kB / 0.8904 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1836, allocations: 7.969 kB / 0.8904 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003616/0.184, allocations: 239.5 kB / 0.8907 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.184, allocations: 5.406 kB / 0.8907 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.184, allocations: 4 kB / 0.8907 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.1842, allocations: 74.39 kB / 0.8907 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.1845, allocations: 79.89 kB / 0.8908 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.1864, allocations: 2.527 MB / 0.8933 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.1866, allocations: 35.73 kB / 0.8933 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.1866, allocations: 8 kB / 0.8933 GB, free: 11.67 MB / 0.8698 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.0001387/0.1868, allocations: 140.6 kB / 0.8935 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.1868, allocations: 31.91 kB / 0.8935 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.1869, allocations: 47.67 kB / 0.8935 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1869, allocations: 4 kB / 0.8935 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1869, allocations: 0 / 0.8935 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002881/0.1872, allocations: 374.3 kB / 0.8939 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005401/0.1877, allocations: 0.4903 MB / 0.8944 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1877, allocations: 4 kB / 0.8944 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1879, allocations: 54.8 kB / 0.8944 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.188, allocations: 59.62 kB / 0.8945 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.1881, allocations: 47.58 kB / 0.8945 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1882, allocations: 4 kB / 0.8945 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.1891, allocations: 1.328 MB / 0.8958 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1891, allocations: 0 / 0.8958 GB, free: 8.875 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1893, allocations: 302.3 kB / 0.8961 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.1893, allocations: 8 kB / 0.8961 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1895, allocations: 23.91 kB / 0.8962 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1896, allocations: 23.91 kB / 0.8962 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.1896, allocations: 11.98 kB / 0.8962 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001089/0.1897, allocations: 156.7 kB / 0.8963 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.1897, allocations: 3.938 kB / 0.8963 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004312/0.1901, allocations: 219.6 kB / 0.8966 GB, free: 8.117 MB / 0.8698 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.0002011/0.1903, allocations: 108.4 kB / 0.8967 GB, free: 8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1907, allocations: 382.4 kB / 0.897 GB, free: 7.598 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/0.1907, allocations: 8 kB / 0.897 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1908, allocations: 191.3 kB / 0.8972 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.1915, allocations: 336.4 kB / 0.8975 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.1958, allocations: 0.9177 MB / 0.8984 GB, free: 6.105 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.1959, allocations: 149.5 kB / 0.8986 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.1961, allocations: 64.17 kB / 0.8986 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004067/0.1965, allocations: 247 kB / 0.8989 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/0.1965, allocations: 0 / 0.8989 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of Templates: time 0.01363/0.2102, allocations: 11.88 MB / 0.9105 GB, free: 10.04 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.347122503444552]