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.001732/0.001732, allocations: 104 kB / 16.45 MB, free: 6.449 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.00175/0.00175, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.616/1.616, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.409/3.409, allocations: 0.49 GB / 0.7915 GB, free: 33.34 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.00219/0.00219, allocations: 66.03 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6087, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.3201/0.9288, allocations: 174.6 MB / 1.492 GB, free: 3.633 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008924/0.9378, allocations: 4.32 MB / 1.496 GB, free: 15.3 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.9391, allocations: 31.75 kB / 1.496 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.9405, allocations: 365.9 kB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004105/0.9446, allocations: 1.262 MB / 1.498 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.9473, allocations: 0.8073 MB / 1.498 GB, free: 12.84 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.9504, allocations: 1.699 MB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.9517, allocations: 487.6 kB / 1.5 GB, free: 10.66 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.9541, allocations: 0.7824 MB / 1.501 GB, free: 9.871 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.9562, allocations: 0.5765 MB / 1.502 GB, free: 9.297 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.9565, allocations: 67.94 kB / 1.502 GB, free: 9.23 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.9591, allocations: 0.8495 MB / 1.503 GB, free: 8.379 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005663/0.9596, allocations: 271.2 kB / 1.503 GB, free: 8.113 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.9608, allocations: 414.2 kB / 1.503 GB, free: 7.707 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.9643, allocations: 1.277 MB / 1.505 GB, free: 6.426 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9643, allocations: 0 / 1.505 GB, free: 6.426 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9643, allocations: 0 / 1.505 GB, free: 6.426 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.837e-05/0.9643, allocations: 0 / 1.505 GB, free: 6.426 MB / 1.201 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.003272/0.9676, allocations: 1.051 MB / 1.506 GB, free: 5.32 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.9677, allocations: 11.98 kB / 1.506 GB, free: 5.309 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.969, allocations: 167.4 kB / 1.506 GB, free: 5.145 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.9703, allocations: 0.5526 MB / 1.506 GB, free: 4.559 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.9703, allocations: 41.31 kB / 1.506 GB, free: 4.52 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.9704, allocations: 51.94 kB / 1.506 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.9719, allocations: 0.6479 MB / 1.507 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.972, allocations: 0 / 1.507 GB, free: 3.805 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.972, allocations: 24 kB / 1.507 GB, free: 3.781 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.363e-05/0.9721, allocations: 29.3 kB / 1.507 GB, free: 3.75 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.9732, allocations: 0.5087 MB / 1.508 GB, free: 3.242 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.004488/0.9777, allocations: 2.298 MB / 1.51 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.9783, allocations: 238.8 kB / 1.51 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.9786, allocations: 129.1 kB / 1.51 GB, free: 412 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.9786, allocations: 15.89 kB / 1.51 GB, free: 396 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.9787, allocations: 30.56 kB / 1.51 GB, free: 356 kB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.9787, allocations: 4 kB / 1.51 GB, free: 352 kB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.002014/0.9807, allocations: 0.6664 MB / 1.511 GB, free: 15.63 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/0.9808, allocations: 81.11 kB / 1.511 GB, free: 15.53 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.9816, allocations: 0.5574 MB / 1.511 GB, free: 14.96 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.9817, allocations: 37.69 kB / 1.512 GB, free: 14.92 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.982, allocations: 331.8 kB / 1.512 GB, free: 14.59 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.9821, allocations: 83.31 kB / 1.512 GB, free: 14.51 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.9823, allocations: 77.97 kB / 1.512 GB, free: 14.43 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.9825, allocations: 358.7 kB / 1.512 GB, free: 14.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.9828, allocations: 132.5 kB / 1.512 GB, free: 13.94 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.9832, allocations: 218.6 kB / 1.513 GB, free: 13.7 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.9838, allocations: 336.8 kB / 1.513 GB, free: 13.34 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.9839, allocations: 0 / 1.513 GB, free: 13.34 MB / 1.217 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001108/0.985, allocations: 498.7 kB / 1.513 GB, free: 12.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.985, allocations: 8 kB / 1.513 GB, free: 12.83 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.985, allocations: 4 kB / 1.513 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.9854, allocations: 101.8 kB / 1.514 GB, free: 12.72 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.9857, allocations: 71.89 kB / 1.514 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/0.9897, allocations: 3.343 MB / 1.517 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.9904, allocations: 59.73 kB / 1.517 GB, free: 8.965 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.9904, allocations: 12 kB / 1.517 GB, free: 8.953 MB / 1.217 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.000433/0.9909, allocations: 224 kB / 1.517 GB, free: 8.727 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.991, allocations: 55.67 kB / 1.517 GB, free: 8.672 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.9912, allocations: 56.5 kB / 1.517 GB, free: 8.613 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9912, allocations: 4 kB / 1.517 GB, free: 8.609 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9912, allocations: 3.938 kB / 1.517 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008801/0.9921, allocations: 0.5322 MB / 1.518 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.9937, allocations: 0.9104 MB / 1.519 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9937, allocations: 0 / 1.519 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.994, allocations: 39.97 kB / 1.519 GB, free: 6.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.9942, allocations: 68.86 kB / 1.519 GB, free: 6.918 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.9942, allocations: 8 kB / 1.519 GB, free: 6.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.9963, allocations: 1.825 MB / 1.521 GB, free: 4.945 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.9963, allocations: 4 kB / 1.521 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.9972, allocations: 439.3 kB / 1.521 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.9975, allocations: 172.7 kB / 1.521 GB, free: 4.301 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.9976, allocations: 3.938 kB / 1.521 GB, free: 4.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.9982, allocations: 19.98 kB / 1.521 GB, free: 4.277 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9983, allocations: 19.97 kB / 1.521 GB, free: 4.258 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.9983, allocations: 15.98 kB / 1.521 GB, free: 4.242 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006016/0.9989, allocations: 402.8 kB / 1.522 GB, free: 3.852 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.9989, allocations: 0 / 1.522 GB, free: 3.852 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009392/0.9999, allocations: 211.7 kB / 1.522 GB, free: 3.645 MB / 1.217 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.0004239/1, allocations: 147.1 kB / 1.522 GB, free: 3.492 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001243/1.002, allocations: 0.515 MB / 1.522 GB, free: 2.953 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.002, allocations: 4.062 kB / 1.522 GB, free: 2.949 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/1.002, allocations: 246.5 kB / 1.523 GB, free: 2.695 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.004, allocations: 373.9 kB / 1.523 GB, free: 2.336 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/1.007, allocations: 0.9993 MB / 1.524 GB, free: 1.301 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/1.007, allocations: 0.9093 MB / 1.525 GB, free: 372 kB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005247/1.008, allocations: 108.8 kB / 1.525 GB, free: 264 kB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.008, allocations: 43.42 kB / 1.525 GB, free: 220 kB / 1.217 GB Notification: Performance of SimCode: time 1.002e-06/1.008, allocations: 7.938 kB / 1.525 GB, free: 212 kB / 1.217 GB Notification: Performance of Templates: time 0.02981/1.038, allocations: 13.23 MB / 1.538 GB, free: 3.184 MB / 1.232 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.913377729710191]