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.001479/0.001479, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001599/0.001599, allocations: 214.6 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.998/2.998, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.001978/0.001978, allocations: 72.62 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3045, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1884/0.4929, allocations: 174.8 MB / 1.525 GB, free: 8.527 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006671/0.4996, allocations: 4.333 MB / 1.529 GB, free: 4.184 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.5003, allocations: 31.75 kB / 1.529 GB, free: 4.152 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5013, allocations: 369.9 kB / 1.529 GB, free: 3.789 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.5043, allocations: 1.287 MB / 1.531 GB, free: 2.496 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.5063, allocations: 0.8371 MB / 1.531 GB, free: 1.664 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002307/0.5086, allocations: 1.73 MB / 1.533 GB, free: 15.93 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006714/0.5093, allocations: 452.2 kB / 1.534 GB, free: 15.48 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.5107, allocations: 0.7862 MB / 1.534 GB, free: 14.7 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.5121, allocations: 0.5836 MB / 1.535 GB, free: 14.11 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.5122, allocations: 68 kB / 1.535 GB, free: 14.05 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.5138, allocations: 0.8613 MB / 1.536 GB, free: 13.18 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.5141, allocations: 279.2 kB / 1.536 GB, free: 12.91 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.5146, allocations: 402.3 kB / 1.536 GB, free: 12.52 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.5163, allocations: 1.273 MB / 1.538 GB, free: 11.24 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5163, allocations: 0 / 1.538 GB, free: 11.24 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5163, allocations: 3.938 kB / 1.538 GB, free: 11.23 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.5163, allocations: 0 / 1.538 GB, free: 11.23 MB / 1.232 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.001743/0.5181, allocations: 0.9718 MB / 1.539 GB, free: 10.23 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5181, allocations: 8.031 kB / 1.539 GB, free: 10.22 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009508/0.5191, allocations: 175.4 kB / 1.539 GB, free: 10.05 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.5199, allocations: 482.7 kB / 1.539 GB, free: 9.555 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.52, allocations: 41.31 kB / 1.539 GB, free: 9.516 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.52, allocations: 48 kB / 1.539 GB, free: 9.469 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.5211, allocations: 0.6557 MB / 1.54 GB, free: 8.797 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5211, allocations: 0 / 1.54 GB, free: 8.797 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.5212, allocations: 27.94 kB / 1.54 GB, free: 8.77 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.5212, allocations: 21.31 kB / 1.54 GB, free: 8.746 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.5221, allocations: 0.5087 MB / 1.541 GB, free: 8.234 MB / 1.232 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.003358/0.5255, allocations: 2.258 MB / 1.543 GB, free: 5.812 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.526, allocations: 246.8 kB / 1.543 GB, free: 5.562 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.5262, allocations: 124.8 kB / 1.543 GB, free: 5.438 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.5263, allocations: 7.938 kB / 1.543 GB, free: 5.43 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.5263, allocations: 38.56 kB / 1.543 GB, free: 5.383 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.5263, allocations: 7.938 kB / 1.543 GB, free: 5.375 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001575/0.5279, allocations: 0.5089 MB / 1.544 GB, free: 4.855 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.5279, allocations: 81.05 kB / 1.544 GB, free: 4.758 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006568/0.5286, allocations: 0.5575 MB / 1.544 GB, free: 4.191 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.5286, allocations: 33.7 kB / 1.544 GB, free: 4.152 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.5289, allocations: 339.8 kB / 1.545 GB, free: 3.816 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.655e-05/0.529, allocations: 79.33 kB / 1.545 GB, free: 3.738 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5291, allocations: 69.98 kB / 1.545 GB, free: 3.664 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5292, allocations: 362.7 kB / 1.545 GB, free: 3.301 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.5295, allocations: 132.5 kB / 1.545 GB, free: 3.172 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.5298, allocations: 222.6 kB / 1.545 GB, free: 2.922 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/0.5303, allocations: 332.4 kB / 1.546 GB, free: 2.566 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5303, allocations: 0 / 1.546 GB, free: 2.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009196/0.5312, allocations: 0.4916 MB / 1.546 GB, free: 2.062 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5313, allocations: 12 kB / 1.546 GB, free: 2.051 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5313, allocations: 7.938 kB / 1.546 GB, free: 2.043 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/0.5316, allocations: 89.64 kB / 1.546 GB, free: 1.949 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.5319, allocations: 75.89 kB / 1.546 GB, free: 1.875 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.535, allocations: 3.137 MB / 1.55 GB, free: 14.51 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.5355, allocations: 51.61 kB / 1.55 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.5355, allocations: 12 kB / 1.55 GB, free: 14.45 MB / 1.248 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.0003126/0.5358, allocations: 217.6 kB / 1.55 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.5359, allocations: 59.67 kB / 1.55 GB, free: 14.17 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.536, allocations: 56.44 kB / 1.55 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.536, allocations: 0 / 1.55 GB, free: 14.11 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.536, allocations: 11.94 kB / 1.55 GB, free: 14.09 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007331/0.5368, allocations: 0.5327 MB / 1.55 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.5381, allocations: 0.8844 MB / 1.551 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5381, allocations: 0 / 1.551 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.5383, allocations: 43.97 kB / 1.551 GB, free: 12.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.5385, allocations: 64.98 kB / 1.551 GB, free: 12.44 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5385, allocations: 12 kB / 1.551 GB, free: 12.43 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.5402, allocations: 1.721 MB / 1.553 GB, free: 10.6 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5402, allocations: 4.062 kB / 1.553 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/0.5409, allocations: 433.6 kB / 1.553 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.5412, allocations: 95.55 kB / 1.554 GB, free: 10.05 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/0.5412, allocations: 11.94 kB / 1.554 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.5416, allocations: 21.2 kB / 1.554 GB, free: 10.02 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.5417, allocations: 19.97 kB / 1.554 GB, free: 10 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5417, allocations: 11.98 kB / 1.554 GB, free: 9.988 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004805/0.5422, allocations: 402.8 kB / 1.554 GB, free: 9.598 MB / 1.248 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5422, allocations: 0 / 1.554 GB, free: 9.598 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006439/0.5429, allocations: 203.7 kB / 1.554 GB, free: 9.398 MB / 1.248 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.0002542/0.5431, allocations: 144.6 kB / 1.554 GB, free: 9.246 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.544, allocations: 0.5204 MB / 1.555 GB, free: 8.699 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.544, allocations: 7.938 kB / 1.555 GB, free: 8.691 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.5444, allocations: 247.2 kB / 1.555 GB, free: 8.438 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.546, allocations: 372.4 kB / 1.555 GB, free: 8.082 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.5477, allocations: 1.043 MB / 1.556 GB, free: 6.996 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.5482, allocations: 0.9054 MB / 1.557 GB, free: 6.062 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5484, allocations: 47.44 kB / 1.557 GB, free: 6.016 MB / 1.248 GB Notification: Performance of SimCode: time 6.81e-07/0.5484, allocations: 0 / 1.557 GB, free: 6.016 MB / 1.248 GB Notification: Performance of Templates: time 0.01839/0.5667, allocations: 13.52 MB / 1.571 GB, free: 8.586 MB / 1.264 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/jenkins1/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: 12.709523308003554]