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.001761/0.001761, allocations: 77.62 kB / 19.76 MB, free: 2.031 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.002069/0.002069, allocations: 160.2 kB / 23.01 MB, free: 4.945 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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 2.823/2.823, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002116/0.002116, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8615/0.8636, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1959/1.06, allocations: 151 MB / 1.334 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007901/1.067, allocations: 4.038 MB / 1.338 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/1.068, allocations: 23.81 kB / 1.338 GB, free: 10.81 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/1.07, allocations: 342 kB / 1.338 GB, free: 10.48 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/1.074, allocations: 1.276 MB / 1.34 GB, free: 9.195 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.076, allocations: 0.8123 MB / 1.34 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002695/1.079, allocations: 1.711 MB / 1.342 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007325/1.08, allocations: 459.9 kB / 1.342 GB, free: 6.219 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/1.081, allocations: 0.7903 MB / 1.343 GB, free: 5.426 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/1.083, allocations: 0.5584 MB / 1.344 GB, free: 4.867 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/1.083, allocations: 68 kB / 1.344 GB, free: 4.801 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/1.084, allocations: 0.6662 MB / 1.344 GB, free: 4.133 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003099/1.085, allocations: 267.2 kB / 1.345 GB, free: 3.871 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004267/1.085, allocations: 350.6 kB / 1.345 GB, free: 3.527 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/1.087, allocations: 1.25 MB / 1.346 GB, free: 2.273 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.087, allocations: 3.938 kB / 1.346 GB, free: 2.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.403e-06/1.087, allocations: 0 / 1.346 GB, free: 2.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.087, allocations: 4 kB / 1.346 GB, free: 2.266 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.001825/1.089, allocations: 0.9757 MB / 1.347 GB, free: 1.254 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.089, allocations: 15.97 kB / 1.347 GB, free: 1.238 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/1.09, allocations: 167.4 kB / 1.347 GB, free: 1.074 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/1.091, allocations: 490.7 kB / 1.348 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/1.091, allocations: 41.31 kB / 1.348 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/1.091, allocations: 52 kB / 1.348 GB, free: 496 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/1.092, allocations: 1.002 MB / 1.349 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/1.092, allocations: 0 / 1.349 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/1.092, allocations: 28 kB / 1.349 GB, free: 15.36 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/1.092, allocations: 25.31 kB / 1.349 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009761/1.093, allocations: 0.5086 MB / 1.35 GB, free: 14.82 MB / 1.201 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.003098/1.096, allocations: 1.551 MB / 1.351 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005311/1.097, allocations: 238.8 kB / 1.351 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/1.097, allocations: 120.8 kB / 1.351 GB, free: 12.86 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/1.097, allocations: 11.94 kB / 1.351 GB, free: 12.85 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.097, allocations: 42.5 kB / 1.351 GB, free: 12.8 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/1.097, allocations: 0 / 1.351 GB, free: 12.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001705/1.099, allocations: 0.5125 MB / 1.352 GB, free: 12.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/1.099, allocations: 77.11 kB / 1.352 GB, free: 12.18 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005443/1.099, allocations: 441.8 kB / 1.352 GB, free: 11.74 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/1.099, allocations: 29.7 kB / 1.352 GB, free: 11.71 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/1.1, allocations: 367.5 kB / 1.353 GB, free: 11.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.238e-05/1.1, allocations: 63.44 kB / 1.353 GB, free: 11.28 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/1.1, allocations: 73.98 kB / 1.353 GB, free: 11.2 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.1, allocations: 350.7 kB / 1.353 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/1.1, allocations: 132.6 kB / 1.353 GB, free: 10.72 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/1.101, allocations: 244.3 kB / 1.354 GB, free: 10.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/1.101, allocations: 328.3 kB / 1.354 GB, free: 10.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.101, allocations: 4 kB / 1.354 GB, free: 10.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000957/1.102, allocations: 495.4 kB / 1.354 GB, free: 9.594 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.102, allocations: 4 kB / 1.354 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1.102, allocations: 4 kB / 1.354 GB, free: 9.586 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003231/1.103, allocations: 89.66 kB / 1.355 GB, free: 9.492 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/1.103, allocations: 79.83 kB / 1.355 GB, free: 9.414 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/1.106, allocations: 3.078 MB / 1.358 GB, free: 6.141 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005386/1.107, allocations: 43.72 kB / 1.358 GB, free: 6.098 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/1.107, allocations: 16 kB / 1.358 GB, free: 6.082 MB / 1.201 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.000398/1.107, allocations: 221.5 kB / 1.358 GB, free: 5.855 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/1.108, allocations: 51.72 kB / 1.358 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/1.108, allocations: 47.67 kB / 1.358 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.108, allocations: 0 / 1.358 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.108, allocations: 0 / 1.358 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000856/1.109, allocations: 0.5228 MB / 1.358 GB, free: 5.164 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/1.11, allocations: 0.7618 MB / 1.359 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.11, allocations: 0 / 1.359 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.11, allocations: 43.97 kB / 1.359 GB, free: 4.312 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/1.11, allocations: 68.81 kB / 1.359 GB, free: 4.242 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/1.11, allocations: 8 kB / 1.359 GB, free: 4.234 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.112, allocations: 1.675 MB / 1.361 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.112, allocations: 0 / 1.361 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/1.113, allocations: 439.7 kB / 1.361 GB, free: 2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/1.113, allocations: 83.61 kB / 1.361 GB, free: 1.918 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/1.113, allocations: 7.938 kB / 1.361 GB, free: 1.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/1.114, allocations: 22.62 kB / 1.361 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.114, allocations: 23.94 kB / 1.362 GB, free: 1.867 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/1.114, allocations: 12 kB / 1.362 GB, free: 1.855 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000388/1.114, allocations: 307.1 kB / 1.362 GB, free: 1.555 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.114, allocations: 4 kB / 1.362 GB, free: 1.551 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007051/1.115, allocations: 211.6 kB / 1.362 GB, free: 1.344 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.0002705/1.115, allocations: 151.1 kB / 1.362 GB, free: 1.188 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009792/1.116, allocations: 0.5204 MB / 1.363 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.116, allocations: 0 / 1.363 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/1.117, allocations: 251.2 kB / 1.363 GB, free: 392 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/1.118, allocations: 269.4 kB / 1.363 GB, free: 128 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/1.12, allocations: 0.9806 MB / 1.364 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/1.12, allocations: 314.1 kB / 1.364 GB, free: 14.78 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003451/1.12, allocations: 92.12 kB / 1.365 GB, free: 14.69 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/1.12, allocations: 36.5 kB / 1.365 GB, free: 14.65 MB / 1.217 GB Notification: Performance of SimCode: time 7.72e-07/1.12, allocations: 0 / 1.365 GB, free: 14.65 MB / 1.217 GB Notification: Performance of Templates: time 0.0202/1.141, allocations: 10.61 MB / 1.375 GB, free: 4.277 MB / 1.217 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 -s ida -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: 9.231348047964275]