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.001566/0.001566, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001963/0.001963, allocations: 213.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 3.491/3.491, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1..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.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 70.83 kB / 1.186 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1976/0.5896, allocations: 151 MB / 1.511 GB, free: 6.074 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.007084/0.5967, allocations: 4.037 MB / 1.515 GB, free: 2.031 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.5974, allocations: 31.75 kB / 1.515 GB, free: 2 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.5984, allocations: 334 kB / 1.516 GB, free: 1.672 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00315/0.6015, allocations: 1.283 MB / 1.517 GB, free: 392 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.6038, allocations: 0.8039 MB / 1.518 GB, free: 15.58 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002395/0.6062, allocations: 1.726 MB / 1.519 GB, free: 13.85 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008476/0.607, allocations: 452.2 kB / 1.52 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.6084, allocations: 0.7862 MB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.6097, allocations: 0.5583 MB / 1.521 GB, free: 12.05 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.6098, allocations: 64 kB / 1.521 GB, free: 11.99 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.6113, allocations: 0.6702 MB / 1.522 GB, free: 11.32 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.6116, allocations: 275.2 kB / 1.522 GB, free: 11.05 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.612, allocations: 342.6 kB / 1.522 GB, free: 10.71 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.6137, allocations: 1.254 MB / 1.524 GB, free: 9.457 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.6137, allocations: 7.938 kB / 1.524 GB, free: 9.449 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6137, allocations: 0 / 1.524 GB, free: 9.449 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.6137, allocations: 0 / 1.524 GB, free: 9.449 MB / 1.217 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.002001/0.6157, allocations: 0.9718 MB / 1.524 GB, free: 8.441 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.6158, allocations: 12.03 kB / 1.525 GB, free: 8.43 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.6167, allocations: 163.5 kB / 1.525 GB, free: 8.27 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.6177, allocations: 490.7 kB / 1.525 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.526e-05/0.6177, allocations: 41.31 kB / 1.525 GB, free: 7.73 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.6178, allocations: 52 kB / 1.525 GB, free: 7.68 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.6192, allocations: 0.9993 MB / 1.526 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6192, allocations: 0 / 1.526 GB, free: 6.578 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.6193, allocations: 31.98 kB / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.6193, allocations: 25.31 kB / 1.526 GB, free: 6.52 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009462/0.6202, allocations: 0.5048 MB / 1.527 GB, free: 6.016 MB / 1.217 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.003112/0.6233, allocations: 1.563 MB / 1.528 GB, free: 4.41 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.6239, allocations: 249.9 kB / 1.529 GB, free: 4.16 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.6241, allocations: 124.8 kB / 1.529 GB, free: 4.035 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.6242, allocations: 4 kB / 1.529 GB, free: 4.031 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.6242, allocations: 46.44 kB / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.6242, allocations: 0 / 1.529 GB, free: 3.977 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001587/0.6258, allocations: 0.5087 MB / 1.529 GB, free: 3.457 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.6258, allocations: 77.11 kB / 1.529 GB, free: 3.363 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.6264, allocations: 441.8 kB / 1.53 GB, free: 2.926 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.6264, allocations: 33.7 kB / 1.53 GB, free: 2.887 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.6267, allocations: 351.7 kB / 1.53 GB, free: 2.539 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.6268, allocations: 71.36 kB / 1.53 GB, free: 2.469 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.6269, allocations: 77.97 kB / 1.53 GB, free: 2.387 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6271, allocations: 350.7 kB / 1.531 GB, free: 2.035 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.6273, allocations: 128.6 kB / 1.531 GB, free: 1.91 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.6277, allocations: 240.3 kB / 1.531 GB, free: 1.637 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.6282, allocations: 332.4 kB / 1.531 GB, free: 1.281 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.6282, allocations: 7.938 kB / 1.531 GB, free: 1.273 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009315/0.6291, allocations: 499.4 kB / 1.532 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6292, allocations: 4 kB / 1.532 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6292, allocations: 4 kB / 1.532 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.6295, allocations: 93.64 kB / 1.532 GB, free: 0.668 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.6298, allocations: 67.91 kB / 1.532 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.633, allocations: 3.071 MB / 1.535 GB, free: 13.33 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.6335, allocations: 43.73 kB / 1.535 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.6335, allocations: 8 kB / 1.535 GB, free: 13.28 MB / 1.232 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.0003533/0.6339, allocations: 230.3 kB / 1.535 GB, free: 13.04 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.634, allocations: 47.72 kB / 1.535 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.6341, allocations: 43.69 kB / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6341, allocations: 0 / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6341, allocations: 0 / 1.535 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007896/0.6349, allocations: 0.5408 MB / 1.536 GB, free: 12.34 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.6361, allocations: 0.7579 MB / 1.536 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6361, allocations: 0 / 1.536 GB, free: 11.54 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.6363, allocations: 39.97 kB / 1.536 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.6365, allocations: 68.81 kB / 1.537 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.6366, allocations: 11.98 kB / 1.537 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.6384, allocations: 1.675 MB / 1.538 GB, free: 9.633 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6384, allocations: 0 / 1.538 GB, free: 9.633 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.6391, allocations: 439.2 kB / 1.539 GB, free: 9.18 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.6393, allocations: 79.67 kB / 1.539 GB, free: 9.102 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.6394, allocations: 0 / 1.539 GB, free: 9.102 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.6398, allocations: 19.98 kB / 1.539 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.6398, allocations: 19.95 kB / 1.539 GB, free: 9.062 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.6399, allocations: 19.98 kB / 1.539 GB, free: 9.043 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003581/0.6402, allocations: 299.1 kB / 1.539 GB, free: 8.754 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6402, allocations: 0 / 1.539 GB, free: 8.754 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006902/0.6409, allocations: 219.6 kB / 1.539 GB, free: 8.539 MB / 1.232 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.0002901/0.6412, allocations: 159 kB / 1.539 GB, free: 8.375 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009556/0.6422, allocations: 0.5165 MB / 1.54 GB, free: 7.832 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6422, allocations: 0 / 1.54 GB, free: 7.832 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.6426, allocations: 255.2 kB / 1.54 GB, free: 7.57 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.6439, allocations: 257.5 kB / 1.54 GB, free: 7.32 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.6458, allocations: 0.9842 MB / 1.541 GB, free: 6.305 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.6462, allocations: 314.2 kB / 1.542 GB, free: 5.973 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004017/0.6466, allocations: 100.1 kB / 1.542 GB, free: 5.871 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.6467, allocations: 31.44 kB / 1.542 GB, free: 5.84 MB / 1.232 GB Notification: Performance of SimCode: time 9.12e-07/0.6467, allocations: 0 / 1.542 GB, free: 5.84 MB / 1.232 GB Notification: Performance of Templates: time 0.02211/0.6688, allocations: 11.58 MB / 1.553 GB, free: 10.51 MB / 1.248 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.894136734306812]