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.0008686/0.0008686, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008022/0.0008022, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.8883/0.8883, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.693/1.693, allocations: 377.8 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.36e-05, allocations: 5.656 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6491/0.6491, allocations: 150.9 MB / 1.13 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.6536, allocations: 4.032 MB / 1.133 GB, free: 8.371 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.6539, allocations: 30.31 kB / 1.133 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008301/0.6548, allocations: 339.2 kB / 1.134 GB, free: 8.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.6568, allocations: 1.32 MB / 1.135 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.6581, allocations: 0.8358 MB / 1.136 GB, free: 6.996 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.6594, allocations: 1.757 MB / 1.138 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.6598, allocations: 431.4 kB / 1.138 GB, free: 5.973 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.6609, allocations: 0.9962 MB / 1.139 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.6617, allocations: 0.5148 MB / 1.14 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.6618, allocations: 64.41 kB / 1.14 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009145/0.6628, allocations: 0.6715 MB / 1.14 GB, free: 5.125 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.663, allocations: 292.7 kB / 1.141 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.6632, allocations: 293.5 kB / 1.141 GB, free: 4.875 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.6646, allocations: 1.305 MB / 1.142 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6646, allocations: 0.75 kB / 1.142 GB, free: 4.422 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6646, allocations: 3.938 kB / 1.142 GB, free: 4.418 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.6646, allocations: 0 / 1.142 GB, free: 4.418 MB / 0.9948 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.001244/0.6658, allocations: 0.966 MB / 1.143 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.6659, allocations: 10.06 kB / 1.143 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/0.6665, allocations: 171.9 kB / 1.143 GB, free: 3.723 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005825/0.667, allocations: 491.7 kB / 1.144 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.6671, allocations: 46.88 kB / 1.144 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.707e-05/0.6671, allocations: 50.62 kB / 1.144 GB, free: 3.375 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008437/0.668, allocations: 0.9982 MB / 1.145 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.668, allocations: 5.844 kB / 1.145 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/0.668, allocations: 25.47 kB / 1.145 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.6681, allocations: 23.69 kB / 1.145 GB, free: 2.641 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.6687, allocations: 0.5094 MB / 1.145 GB, free: 2.477 MB / 0.9948 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.001936/0.6707, allocations: 1.549 MB / 1.147 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.671, allocations: 242.7 kB / 1.147 GB, free: 1.535 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.6712, allocations: 129.2 kB / 1.147 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.6712, allocations: 7.688 kB / 1.147 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.6712, allocations: 38.5 kB / 1.147 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.6712, allocations: 0 / 1.147 GB, free: 1.445 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20): time 0.0009807/0.6722, allocations: 0.5103 MB / 1.148 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.6722, allocations: 81.27 kB / 1.148 GB, free: 1.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.6726, allocations: 443.9 kB / 1.148 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.6726, allocations: 28.92 kB / 1.148 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.6728, allocations: 352.9 kB / 1.149 GB, free: 0.625 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.6728, allocations: 78.77 kB / 1.149 GB, free: 0.5625 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/0.6729, allocations: 68.8 kB / 1.149 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.6729, allocations: 349.5 kB / 1.149 GB, free: 196 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.6731, allocations: 130.8 kB / 1.149 GB, free: 156 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.6734, allocations: 250 kB / 1.149 GB, free: 15.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.6738, allocations: 332.3 kB / 1.15 GB, free: 15.79 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6738, allocations: 1.156 kB / 1.15 GB, free: 15.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006792/0.6744, allocations: 492.5 kB / 1.15 GB, free: 15.58 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.6745, allocations: 8.734 kB / 1.15 GB, free: 15.58 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6745, allocations: 6.344 kB / 1.15 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.6747, allocations: 91.59 kB / 1.15 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.6749, allocations: 73.12 kB / 1.15 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.6771, allocations: 3.064 MB / 1.153 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.6773, allocations: 42.86 kB / 1.153 GB, free: 12.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.6774, allocations: 13.5 kB / 1.153 GB, free: 12.82 MB / 1.01 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.0001986/0.6776, allocations: 224.2 kB / 1.154 GB, free: 12.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.6776, allocations: 46.8 kB / 1.154 GB, free: 12.63 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.6777, allocations: 45.97 kB / 1.154 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.6777, allocations: 2.312 kB / 1.154 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6777, allocations: 0.7031 kB / 1.154 GB, free: 12.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00048/0.6782, allocations: 0.5243 MB / 1.154 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.679, allocations: 0.7581 MB / 1.155 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.679, allocations: 0 / 1.155 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.6791, allocations: 43.61 kB / 1.155 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.6793, allocations: 63.33 kB / 1.155 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6793, allocations: 6.094 kB / 1.155 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.6806, allocations: 1.692 MB / 1.157 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6806, allocations: 1.719 kB / 1.157 GB, free: 10.29 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.681, allocations: 428.3 kB / 1.157 GB, free: 10.03 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.6811, allocations: 79.78 kB / 1.157 GB, free: 9.992 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.6811, allocations: 1.156 kB / 1.157 GB, free: 9.992 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.6813, allocations: 27.61 kB / 1.157 GB, free: 9.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.6814, allocations: 23.55 kB / 1.157 GB, free: 9.973 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.6814, allocations: 15.56 kB / 1.157 GB, free: 9.969 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002601/0.6817, allocations: 302.6 kB / 1.158 GB, free: 9.828 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6817, allocations: 3.938 kB / 1.158 GB, free: 9.824 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004685/0.6822, allocations: 221.6 kB / 1.158 GB, free: 9.777 MB / 1.01 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.0002585/0.6824, allocations: 147.5 kB / 1.158 GB, free: 9.676 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006318/0.683, allocations: 0.5252 MB / 1.158 GB, free: 9.348 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6831, allocations: 1.594 kB / 1.158 GB, free: 9.348 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.6833, allocations: 255.1 kB / 1.159 GB, free: 9.184 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.6841, allocations: 272.1 kB / 1.159 GB, free: 9.121 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.6853, allocations: 0.9858 MB / 1.16 GB, free: 8.555 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.6857, allocations: 314.4 kB / 1.16 GB, free: 8.438 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.73e-05/0.6858, allocations: 39.34 kB / 1.16 GB, free: 8.426 MB / 1.01 GB Notification: Performance of SimCode: time 7.62e-07/0.6858, allocations: 0 / 1.16 GB, free: 8.426 MB / 1.01 GB Notification: Performance of Templates: time 0.01438/0.7002, allocations: 12.46 MB / 1.172 GB, free: 7.137 MB / 1.01 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: 8.317583424039185]