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.001694/0.001694, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002205/0.002205, allocations: 214.7 kB / 22.99 MB, free: 4.984 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.333/3.333, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: 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.002109/0.002109, allocations: 68.23 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2242/0.6162, allocations: 151 MB / 1.474 GB, free: 9.484 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.6239, allocations: 4.033 MB / 1.478 GB, free: 5.441 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.6247, allocations: 31.75 kB / 1.478 GB, free: 5.41 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6259, allocations: 334 kB / 1.479 GB, free: 5.082 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.6296, allocations: 1.28 MB / 1.48 GB, free: 3.797 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.6324, allocations: 0.8205 MB / 1.481 GB, free: 2.98 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003507/0.6359, allocations: 1.734 MB / 1.483 GB, free: 1.238 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.637, allocations: 452.2 kB / 1.483 GB, free: 0.793 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.6391, allocations: 0.7863 MB / 1.484 GB, free: 4 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.641, allocations: 0.584 MB / 1.484 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.6411, allocations: 64 kB / 1.484 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.6434, allocations: 0.6741 MB / 1.485 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.6438, allocations: 279.2 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/0.6444, allocations: 346.6 kB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.6469, allocations: 1.258 MB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.6469, allocations: 0 / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6469, allocations: 0 / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.647, allocations: 0 / 1.487 GB, free: 12.81 MB / 1.186 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.002515/0.6495, allocations: 0.9796 MB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.6495, allocations: 12.03 kB / 1.488 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.651, allocations: 167.4 kB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6524, allocations: 494.6 kB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.6524, allocations: 41.31 kB / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6525, allocations: 52 kB / 1.489 GB, free: 11.02 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.6544, allocations: 0.9994 MB / 1.489 GB, free: 9.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.6544, allocations: 3.938 kB / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.754e-05/0.6545, allocations: 20 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.6546, allocations: 25.31 kB / 1.49 GB, free: 9.867 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.6559, allocations: 0.5048 MB / 1.49 GB, free: 9.359 MB / 1.186 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.004276/0.6602, allocations: 1.559 MB / 1.492 GB, free: 7.754 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.6609, allocations: 245.3 kB / 1.492 GB, free: 7.508 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.6612, allocations: 125.1 kB / 1.492 GB, free: 7.383 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.6613, allocations: 4 kB / 1.492 GB, free: 7.379 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.6613, allocations: 46.45 kB / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 2.465e-06/0.6613, allocations: 0 / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.002286/0.6636, allocations: 0.504 MB / 1.492 GB, free: 6.809 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.6637, allocations: 81.11 kB / 1.493 GB, free: 6.711 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.6645, allocations: 441.8 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.6645, allocations: 33.7 kB / 1.493 GB, free: 6.234 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.6649, allocations: 343.7 kB / 1.493 GB, free: 5.895 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.665, allocations: 83.31 kB / 1.493 GB, free: 5.812 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001873/0.6652, allocations: 73.97 kB / 1.493 GB, free: 5.734 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.6654, allocations: 350.7 kB / 1.494 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.6658, allocations: 132.5 kB / 1.494 GB, free: 5.254 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.6663, allocations: 256.2 kB / 1.494 GB, free: 4.965 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.6671, allocations: 332.9 kB / 1.494 GB, free: 4.609 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6671, allocations: 0 / 1.494 GB, free: 4.609 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001355/0.6685, allocations: 482.7 kB / 1.495 GB, free: 4.125 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.6685, allocations: 8.281 kB / 1.495 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6685, allocations: 7.984 kB / 1.495 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.669, allocations: 97.64 kB / 1.495 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.6695, allocations: 67.91 kB / 1.495 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004183/0.6736, allocations: 3.079 MB / 1.498 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/0.6743, allocations: 31.78 kB / 1.498 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.6743, allocations: 11.94 kB / 1.498 GB, free: 0.6172 MB / 1.186 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.0005044/0.6748, allocations: 225.7 kB / 1.498 GB, free: 396 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.6749, allocations: 47.7 kB / 1.498 GB, free: 348 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.675, allocations: 47.69 kB / 1.498 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.675, allocations: 0 / 1.498 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.675, allocations: 0 / 1.498 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/0.6761, allocations: 0.5358 MB / 1.499 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.6778, allocations: 0.752 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6778, allocations: 0 / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.6781, allocations: 47.89 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002996/0.6784, allocations: 68.75 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.6784, allocations: 7.984 kB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.6809, allocations: 1.684 MB / 1.501 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6809, allocations: 0 / 1.501 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.6819, allocations: 431.2 kB / 1.502 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.6822, allocations: 75.67 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.6823, allocations: 8 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.6829, allocations: 22.16 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.683, allocations: 19.95 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.6831, allocations: 12 kB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005302/0.6836, allocations: 307.1 kB / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6836, allocations: 0 / 1.502 GB, free: 12.1 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001076/0.6847, allocations: 219.6 kB / 1.503 GB, free: 11.89 MB / 1.201 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.0003936/0.6851, allocations: 151.3 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.6863, allocations: 0.5321 MB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6863, allocations: 0 / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00051/0.6869, allocations: 250.5 kB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.6887, allocations: 287.9 kB / 1.504 GB, free: 10.64 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.6912, allocations: 0.9709 MB / 1.505 GB, free: 9.641 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.6917, allocations: 314.2 kB / 1.505 GB, free: 9.305 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004768/0.6921, allocations: 92.08 kB / 1.505 GB, free: 9.211 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.6922, allocations: 39.42 kB / 1.505 GB, free: 9.172 MB / 1.201 GB Notification: Performance of SimCode: time 1.412e-06/0.6922, allocations: 0 / 1.505 GB, free: 9.172 MB / 1.201 GB Notification: Performance of Templates: time 0.02395/0.7162, allocations: 11.69 MB / 1.516 GB, free: 13.74 MB / 1.217 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 -s cvode -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/jenkins1/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: 9.993829519007704]