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.001293/0.001293, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001536/0.001536, allocations: 220 kB / 23.04 MB, free: 4.844 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.079/3.079, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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.002025/0.002025, allocations: 66.34 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1893/0.561, allocations: 151 MB / 1.475 GB, free: 9.434 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006763/0.5677, allocations: 4.039 MB / 1.478 GB, free: 5.387 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.5684, allocations: 27.75 kB / 1.479 GB, free: 5.359 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5694, allocations: 334 kB / 1.479 GB, free: 5.031 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.5727, allocations: 1.279 MB / 1.48 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.5749, allocations: 0.8201 MB / 1.481 GB, free: 2.93 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.5773, allocations: 1.716 MB / 1.483 GB, free: 1.207 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000732/0.578, allocations: 452.2 kB / 1.483 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001487/0.5795, allocations: 0.7824 MB / 1.484 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.5808, allocations: 0.5582 MB / 1.484 GB, free: 15.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.5809, allocations: 71.94 kB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.5824, allocations: 0.6585 MB / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.5827, allocations: 283.2 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.5832, allocations: 342.6 kB / 1.486 GB, free: 14.07 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.5851, allocations: 1.261 MB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5851, allocations: 0 / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5851, allocations: 0 / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.5851, 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.001936/0.5871, allocations: 0.9718 MB / 1.488 GB, free: 11.8 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5871, allocations: 8.031 kB / 1.488 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.5881, allocations: 167.4 kB / 1.488 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.5891, allocations: 0.4947 MB / 1.488 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.5891, allocations: 37.31 kB / 1.488 GB, free: 11.08 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.5892, allocations: 52 kB / 1.489 GB, free: 11.03 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5906, allocations: 0.9993 MB / 1.49 GB, free: 9.926 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5906, allocations: 3.938 kB / 1.49 GB, free: 9.922 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.463e-05/0.5907, allocations: 28 kB / 1.49 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.5907, allocations: 25.3 kB / 1.49 GB, free: 9.867 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.5916, allocations: 0.5126 MB / 1.49 GB, free: 9.352 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.0031/0.5947, allocations: 1.547 MB / 1.492 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.5953, allocations: 242.7 kB / 1.492 GB, free: 7.512 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.5955, allocations: 129.1 kB / 1.492 GB, free: 7.383 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.5955, allocations: 0 / 1.492 GB, free: 7.383 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5956, allocations: 50.44 kB / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.5956, allocations: 0 / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.00162/0.5972, allocations: 0.5005 MB / 1.492 GB, free: 6.812 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.5973, allocations: 81.11 kB / 1.493 GB, free: 6.715 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.5978, allocations: 445.8 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.5979, allocations: 29.7 kB / 1.493 GB, free: 6.238 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5982, allocations: 351.7 kB / 1.493 GB, free: 5.891 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.5983, allocations: 79.3 kB / 1.493 GB, free: 5.812 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.5984, allocations: 69.98 kB / 1.493 GB, free: 5.738 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.5986, allocations: 354.7 kB / 1.494 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.5989, allocations: 132.6 kB / 1.494 GB, free: 5.254 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.5993, allocations: 252.3 kB / 1.494 GB, free: 4.969 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.5999, allocations: 332.9 kB / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5999, allocations: 0 / 1.494 GB, free: 4.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009633/0.6008, allocations: 483 kB / 1.495 GB, free: 4.129 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6009, allocations: 15.94 kB / 1.495 GB, free: 4.113 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6009, allocations: 0 / 1.495 GB, free: 4.113 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.6012, allocations: 97.64 kB / 1.495 GB, free: 4.012 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.6016, allocations: 63.91 kB / 1.495 GB, free: 3.949 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.6051, allocations: 3.081 MB / 1.498 GB, free: 0.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.6056, allocations: 39.77 kB / 1.498 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.6056, allocations: 12 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.00038/0.606, allocations: 222.8 kB / 1.498 GB, free: 400 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.6061, allocations: 47.72 kB / 1.498 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.018e-05/0.6062, allocations: 43.69 kB / 1.498 GB, free: 304 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6062, allocations: 4 kB / 1.498 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6062, allocations: 0 / 1.498 GB, free: 300 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007976/0.607, allocations: 0.5366 MB / 1.499 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.6082, allocations: 0.7503 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.6082, allocations: 7.938 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.6084, allocations: 39.92 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/0.6087, allocations: 68.73 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6087, allocations: 4 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.6104, allocations: 1.695 MB / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6104, allocations: 0 / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.6111, allocations: 425.6 kB / 1.502 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.6114, allocations: 75.69 kB / 1.502 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.6114, allocations: 12.05 kB / 1.502 GB, free: 12.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.6118, allocations: 16.59 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.6119, allocations: 19.97 kB / 1.502 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.6119, allocations: 15.98 kB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003764/0.6123, allocations: 307.1 kB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6123, allocations: 0 / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007218/0.613, allocations: 215.6 kB / 1.503 GB, free: 11.88 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.0002927/0.6133, allocations: 150.4 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000974/0.6143, allocations: 0.536 MB / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6143, allocations: 0 / 1.503 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.6147, allocations: 251.7 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.001304/0.616, allocations: 270.2 kB / 1.504 GB, free: 10.65 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6177, allocations: 1.036 MB / 1.505 GB, free: 9.578 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.618, allocations: 310.2 kB / 1.505 GB, free: 9.246 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.6182, allocations: 31.44 kB / 1.505 GB, free: 9.215 MB / 1.201 GB Notification: Performance of SimCode: time 6.41e-07/0.6182, allocations: 0 / 1.505 GB, free: 9.215 MB / 1.201 GB Notification: Performance of Templates: time 0.01714/0.6353, allocations: 12.44 MB / 1.517 GB, free: 12.84 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 -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: 13.126999573083594]