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.0008002/0.0008002, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.002029, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007284/0.0007284, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009989/0.001727, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.924/0.924, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09346/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.783/1.783, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5005/2.284, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.533e-06/1.533e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.305e-05, allocations: 5.344 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1364/0.1364, allocations: 148.2 MB / 0.8744 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.141, allocations: 3.509 MB / 0.8778 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.1414, allocations: 31.75 kB / 0.8778 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.1419, allocations: 182.6 kB / 0.878 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.1433, allocations: 0.9324 MB / 0.8789 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.1443, allocations: 0.6078 MB / 0.8795 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.1457, allocations: 1.726 MB / 0.8812 GB, free: 8.895 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000774/0.1464, allocations: 489.6 kB / 0.8816 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.1476, allocations: 0.9727 MB / 0.8826 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.1482, allocations: 0.4947 MB / 0.8831 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.1483, allocations: 64 kB / 0.8831 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.1492, allocations: 359.1 kB / 0.8835 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1494, allocations: 251.4 kB / 0.8837 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.1496, allocations: 247.6 kB / 0.884 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008161/0.1504, allocations: 0.7204 MB / 0.8847 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1504, allocations: 4 kB / 0.8847 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1504, allocations: 0 / 0.8847 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.1505, allocations: 0 / 0.8847 GB, free: 5.344 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.001276/0.1517, allocations: 1.139 MB / 0.8858 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1518, allocations: 12.03 kB / 0.8858 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000537/0.1523, allocations: 212.4 kB / 0.886 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1528, allocations: 414.3 kB / 0.8864 GB, free: 3.504 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.1528, allocations: 41.44 kB / 0.8864 GB, free: 3.465 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.1528, allocations: 60 kB / 0.8865 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.1534, allocations: 0.7723 MB / 0.8872 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1534, allocations: 0 / 0.8872 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.1534, allocations: 24 kB / 0.8873 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.1535, allocations: 21.31 kB / 0.8873 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1537, allocations: 187.9 kB / 0.8875 GB, free: 2.297 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.001485/0.1552, allocations: 1.244 MB / 0.8887 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1554, allocations: 176 kB / 0.8888 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.1554, allocations: 45.17 kB / 0.8889 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1554, allocations: 4 kB / 0.8889 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.1555, allocations: 42.52 kB / 0.8889 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1555, allocations: 0 / 0.8889 GB, free: 0.7344 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0005908/0.1561, allocations: 270.3 kB / 0.8892 GB, free: 468 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1561, allocations: 55.41 kB / 0.8892 GB, free: 400 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1563, allocations: 367.1 kB / 0.8896 GB, free: 20 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.1563, allocations: 33.7 kB / 0.8896 GB, free: 15.98 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1565, allocations: 308.6 kB / 0.8899 GB, free: 15.68 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1565, allocations: 79.36 kB / 0.89 GB, free: 15.6 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.1566, allocations: 69.89 kB / 0.8901 GB, free: 15.52 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.1567, allocations: 354.7 kB / 0.8904 GB, free: 15.17 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.1567, allocations: 35.47 kB / 0.8904 GB, free: 15.13 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1568, allocations: 140.3 kB / 0.8906 GB, free: 14.96 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.157, allocations: 182 kB / 0.8907 GB, free: 14.75 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.157, allocations: 3.938 kB / 0.8907 GB, free: 14.74 MB / 0.8699 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003132/0.1573, allocations: 244.8 kB / 0.891 GB, free: 14.49 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1573, allocations: 4 kB / 0.891 GB, free: 14.48 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1573, allocations: 4.281 kB / 0.891 GB, free: 14.48 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.1575, allocations: 62.17 kB / 0.891 GB, free: 14.41 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1577, allocations: 87.89 kB / 0.8911 GB, free: 14.32 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.1593, allocations: 2.529 MB / 0.8936 GB, free: 11.61 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1594, allocations: 35.73 kB / 0.8936 GB, free: 11.57 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1595, allocations: 16.28 kB / 0.8936 GB, free: 11.55 MB / 0.8699 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.0001125/0.1596, allocations: 128.6 kB / 0.8938 GB, free: 11.42 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1596, allocations: 39.89 kB / 0.8938 GB, free: 11.38 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1597, allocations: 51.67 kB / 0.8939 GB, free: 11.32 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1597, allocations: 4 kB / 0.8939 GB, free: 11.31 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1597, allocations: 0 / 0.8939 GB, free: 11.31 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002244/0.1599, allocations: 370.3 kB / 0.8942 GB, free: 10.88 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.1603, allocations: 0.4943 MB / 0.8947 GB, free: 10.35 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1603, allocations: 0 / 0.8947 GB, free: 10.35 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1604, allocations: 54.8 kB / 0.8947 GB, free: 10.3 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/0.1605, allocations: 63.62 kB / 0.8948 GB, free: 10.23 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.808e-05/0.1606, allocations: 35.66 kB / 0.8948 GB, free: 10.2 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1606, allocations: 8.062 kB / 0.8949 GB, free: 10.19 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006988/0.1613, allocations: 1.332 MB / 0.8962 GB, free: 8.762 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1613, allocations: 4 kB / 0.8962 GB, free: 8.758 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1615, allocations: 307.6 kB / 0.8965 GB, free: 8.43 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1615, allocations: 0 / 0.8965 GB, free: 8.43 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.1617, allocations: 27.33 kB / 0.8965 GB, free: 8.406 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.1618, allocations: 19.97 kB / 0.8965 GB, free: 8.387 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1618, allocations: 11.98 kB / 0.8965 GB, free: 8.375 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0001066/0.1619, allocations: 156.6 kB / 0.8967 GB, free: 8.227 MB / 0.8699 GB Notification: Performance of sort global known variables: time 4e-08/0.1619, allocations: 0 / 0.8967 GB, free: 8.227 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0003746/0.1623, allocations: 211.6 kB / 0.8969 GB, free: 8.02 MB / 0.8699 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.0004353/0.1627, allocations: 128.3 kB / 0.897 GB, free: 7.883 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.1631, allocations: 374.1 kB / 0.8973 GB, free: 7.488 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/0.1631, allocations: 11.98 kB / 0.8973 GB, free: 7.477 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1632, allocations: 200.2 kB / 0.8975 GB, free: 7.266 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.1642, allocations: 1.69 MB / 0.8992 GB, free: 5.266 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.1683, allocations: 0.9116 MB / 0.9001 GB, free: 4.316 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.1684, allocations: 149.5 kB / 0.9002 GB, free: 4.148 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0002433/0.1686, allocations: 68.23 kB / 0.9003 GB, free: 4.078 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004124/0.169, allocations: 251.1 kB / 0.9005 GB, free: 3.832 MB / 0.8699 GB Notification: Performance of SimCode: time 1.052e-06/0.169, allocations: 0 / 0.9005 GB, free: 3.832 MB / 0.8699 GB Notification: Performance of Templates: time 0.01426/0.1833, allocations: 11.97 MB / 0.9122 GB, free: 8.145 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193415789864957]