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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 190.5 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 250.8 MB, free: 2.879 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.962/2.962, allocations: 495.8 MB / 0.783 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_12_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_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 67.89 kB / 1.137 GB, free: 12.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2435/1.363, allocations: 170 MB / 1.473 GB, free: 6.902 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008498/1.372, allocations: 4.316 MB / 1.477 GB, free: 3.691 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/1.373, allocations: 30.66 kB / 1.477 GB, free: 3.676 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00124/1.374, allocations: 374.2 kB / 1.477 GB, free: 3.379 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003861/1.378, allocations: 1.287 MB / 1.479 GB, free: 2.387 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002588/1.38, allocations: 0.8288 MB / 1.479 GB, free: 1.754 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002694/1.383, allocations: 1.739 MB / 1.481 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/1.384, allocations: 447.3 kB / 1.482 GB, free: 440 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/1.386, allocations: 0.7813 MB / 1.482 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/1.387, allocations: 0.5813 MB / 1.483 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/1.387, allocations: 65.16 kB / 1.483 GB, free: 15.64 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001694/1.389, allocations: 0.6718 MB / 1.484 GB, free: 15.29 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/1.389, allocations: 275.5 kB / 1.484 GB, free: 15.1 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/1.39, allocations: 409.5 kB / 1.484 GB, free: 14.85 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/1.392, allocations: 1.243 MB / 1.485 GB, free: 14.04 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/1.392, allocations: 4 kB / 1.485 GB, free: 14.04 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.467e-05/1.392, allocations: 0 / 1.485 GB, free: 14.04 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.422e-05/1.392, allocations: 0.875 kB / 1.485 GB, free: 14.04 MB / 1.17 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.002167/1.394, allocations: 0.982 MB / 1.486 GB, free: 13.29 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.394, allocations: 9.875 kB / 1.486 GB, free: 13.29 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/1.396, allocations: 164.6 kB / 1.487 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/1.397, allocations: 490.5 kB / 1.487 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/1.397, allocations: 45.67 kB / 1.487 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.261e-05/1.397, allocations: 54.72 kB / 1.487 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.398, allocations: 0.647 MB / 1.488 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.398, allocations: 0 / 1.488 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/1.398, allocations: 22.84 kB / 1.488 GB, free: 12.39 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/1.398, allocations: 28.59 kB / 1.488 GB, free: 12.38 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/1.399, allocations: 0.515 MB / 1.488 GB, free: 12.13 MB / 1.17 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.004189/1.403, allocations: 2.239 MB / 1.491 GB, free: 10.27 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/1.404, allocations: 239.5 kB / 1.491 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/1.404, allocations: 129.2 kB / 1.491 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/1.404, allocations: 11.2 kB / 1.491 GB, free: 10.07 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/1.404, allocations: 37.62 kB / 1.491 GB, free: 10.03 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/1.404, allocations: 3.938 kB / 1.491 GB, free: 10.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.001757/1.406, allocations: 0.5191 MB / 1.491 GB, free: 9.742 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/1.406, allocations: 79.14 kB / 1.492 GB, free: 9.648 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/1.407, allocations: 0.5543 MB / 1.492 GB, free: 9.32 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/1.407, allocations: 32.92 kB / 1.492 GB, free: 9.285 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.407, allocations: 344.7 kB / 1.492 GB, free: 8.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/1.407, allocations: 69.64 kB / 1.492 GB, free: 8.922 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.407, allocations: 68.64 kB / 1.493 GB, free: 8.875 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.408, allocations: 368.1 kB / 1.493 GB, free: 8.52 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/1.408, allocations: 134 kB / 1.493 GB, free: 8.453 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/1.408, allocations: 222.4 kB / 1.493 GB, free: 8.281 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/1.409, allocations: 330.1 kB / 1.494 GB, free: 8.062 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.409, allocations: 1.156 kB / 1.494 GB, free: 8.062 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00109/1.41, allocations: 0.4889 MB / 1.494 GB, free: 7.793 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.41, allocations: 9.422 kB / 1.494 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.41, allocations: 3.375 kB / 1.494 GB, free: 7.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/1.41, allocations: 94.66 kB / 1.494 GB, free: 7.734 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/1.411, allocations: 71.16 kB / 1.494 GB, free: 7.719 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/1.415, allocations: 3.141 MB / 1.497 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/1.415, allocations: 51.3 kB / 1.497 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/1.415, allocations: 13.06 kB / 1.497 GB, free: 4.727 MB / 1.17 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.0004154/1.416, allocations: 223 kB / 1.498 GB, free: 4.543 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.416, allocations: 57.05 kB / 1.498 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/1.416, allocations: 56.44 kB / 1.498 GB, free: 4.441 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/1.416, allocations: 192 / 1.498 GB, free: 4.441 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.416, allocations: 7.938 kB / 1.498 GB, free: 4.434 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008303/1.417, allocations: 0.5287 MB / 1.498 GB, free: 3.836 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/1.419, allocations: 0.8939 MB / 1.499 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.419, allocations: 0 / 1.499 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/1.419, allocations: 43.91 kB / 1.499 GB, free: 2.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/1.419, allocations: 64.88 kB / 1.499 GB, free: 2.773 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.419, allocations: 11.94 kB / 1.499 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.421, allocations: 1.71 MB / 1.501 GB, free: 0.9375 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.421, allocations: 4.031 kB / 1.501 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/1.422, allocations: 437.7 kB / 1.501 GB, free: 492 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/1.422, allocations: 99.5 kB / 1.501 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/1.422, allocations: 8.109 kB / 1.501 GB, free: 384 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/1.422, allocations: 24.59 kB / 1.501 GB, free: 360 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/1.423, allocations: 15.97 kB / 1.501 GB, free: 344 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/1.423, allocations: 19.98 kB / 1.501 GB, free: 324 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006106/1.423, allocations: 398.8 kB / 1.502 GB, free: 15.93 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.423, allocations: 4 kB / 1.502 GB, free: 15.93 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008099/1.424, allocations: 207.7 kB / 1.502 GB, free: 15.72 MB / 1.186 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.0005042/1.425, allocations: 155.5 kB / 1.502 GB, free: 15.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.426, allocations: 0.5247 MB / 1.503 GB, free: 15.02 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.426, allocations: 5.25 kB / 1.503 GB, free: 15.01 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004594/1.426, allocations: 242.5 kB / 1.503 GB, free: 14.76 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.428, allocations: 382.9 kB / 1.503 GB, free: 14.4 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/1.43, allocations: 0.9936 MB / 1.504 GB, free: 13.38 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/1.431, allocations: 0.9093 MB / 1.505 GB, free: 12.44 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003897/1.431, allocations: 116.8 kB / 1.505 GB, free: 12.32 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.431, allocations: 39.44 kB / 1.505 GB, free: 12.29 MB / 1.186 GB Notification: Performance of SimCode: time 6.11e-07/1.431, allocations: 3.938 kB / 1.505 GB, free: 12.28 MB / 1.186 GB Notification: Performance of Templates: time 0.02611/1.457, allocations: 13.42 MB / 1.518 GB, free: 15.05 MB / 1.201 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.341179491020739]