Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00151/0.00151, 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.001774/0.001774, allocations: 209.8 kB / 23 MB, free: 4.57 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.729/2.729, allocations: 476.8 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002083/0.002083, allocations: 67.5 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3689, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2178/0.5866, allocations: 174.7 MB / 1.455 GB, free: 11.83 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007738/0.5944, allocations: 4.326 MB / 1.459 GB, free: 7.496 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.5954, allocations: 27.81 kB / 1.459 GB, free: 7.469 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.5966, allocations: 377.8 kB / 1.46 GB, free: 7.098 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.6005, allocations: 1.28 MB / 1.461 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.603, allocations: 0.8293 MB / 1.462 GB, free: 4.988 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.6059, allocations: 1.734 MB / 1.464 GB, free: 3.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.6067, allocations: 456.2 kB / 1.464 GB, free: 2.801 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.6083, allocations: 0.7239 MB / 1.465 GB, free: 2.074 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.6098, allocations: 0.5927 MB / 1.465 GB, free: 1.484 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.6099, allocations: 64 kB / 1.465 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.612, allocations: 0.8652 MB / 1.466 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/0.6124, allocations: 275.3 kB / 1.467 GB, free: 292 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005736/0.6129, allocations: 414.2 kB / 1.467 GB, free: 15.88 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6152, allocations: 1.265 MB / 1.468 GB, free: 14.61 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6152, allocations: 0 / 1.468 GB, free: 14.61 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6152, allocations: 0 / 1.468 GB, free: 14.61 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.6152, allocations: 3.938 kB / 1.468 GB, free: 14.61 MB / 1.17 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.002061/0.6173, allocations: 0.9758 MB / 1.469 GB, free: 13.59 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.6173, allocations: 11.97 kB / 1.469 GB, free: 13.58 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6184, allocations: 167.4 kB / 1.469 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009743/0.6193, allocations: 494.6 kB / 1.47 GB, free: 12.91 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.6194, allocations: 45.31 kB / 1.47 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.6195, allocations: 48 kB / 1.47 GB, free: 12.82 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.6206, allocations: 0.6518 MB / 1.47 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6207, allocations: 4 kB / 1.47 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.6207, allocations: 20 kB / 1.47 GB, free: 12.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.6208, allocations: 29.31 kB / 1.471 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/0.6217, allocations: 0.5087 MB / 1.471 GB, free: 11.59 MB / 1.17 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.004004/0.6257, allocations: 2.246 MB / 1.473 GB, free: 9.188 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/0.6263, allocations: 246.8 kB / 1.473 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.6265, allocations: 120.8 kB / 1.474 GB, free: 8.816 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.6266, allocations: 8.281 kB / 1.474 GB, free: 8.809 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6266, allocations: 34.56 kB / 1.474 GB, free: 8.766 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.6266, allocations: 0 / 1.474 GB, free: 8.766 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.00176/0.6284, allocations: 0.5318 MB / 1.474 GB, free: 8.223 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.6284, allocations: 85.05 kB / 1.474 GB, free: 8.121 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.6292, allocations: 0.5535 MB / 1.475 GB, free: 7.559 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.6292, allocations: 37.7 kB / 1.475 GB, free: 7.516 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.6295, allocations: 339.8 kB / 1.475 GB, free: 7.18 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.6296, allocations: 71.39 kB / 1.475 GB, free: 7.109 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.6297, allocations: 73.92 kB / 1.475 GB, free: 7.031 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6299, allocations: 362.7 kB / 1.476 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.6302, allocations: 128.6 kB / 1.476 GB, free: 6.543 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.6305, allocations: 218.6 kB / 1.476 GB, free: 6.297 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.6311, allocations: 336.9 kB / 1.476 GB, free: 5.938 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6311, allocations: 0 / 1.476 GB, free: 5.938 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009923/0.632, allocations: 498.6 kB / 1.477 GB, free: 5.438 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.6321, allocations: 11.98 kB / 1.477 GB, free: 5.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6321, allocations: 288 / 1.477 GB, free: 5.426 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.6324, allocations: 97.66 kB / 1.477 GB, free: 5.324 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.6328, allocations: 67.91 kB / 1.477 GB, free: 5.258 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/0.6361, allocations: 3.141 MB / 1.48 GB, free: 1.891 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.6367, allocations: 51.67 kB / 1.48 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.6367, allocations: 16 kB / 1.48 GB, free: 1.824 MB / 1.17 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.0003823/0.6371, allocations: 217.7 kB / 1.48 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.6372, allocations: 55.67 kB / 1.48 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.6374, allocations: 56.44 kB / 1.48 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6374, allocations: 0 / 1.48 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6374, allocations: 3.938 kB / 1.48 GB, free: 1.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007888/0.6382, allocations: 0.5267 MB / 1.481 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.6396, allocations: 0.8966 MB / 1.482 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6396, allocations: 0 / 1.482 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.6399, allocations: 44.22 kB / 1.482 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.6401, allocations: 64.81 kB / 1.482 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.6401, allocations: 8 kB / 1.482 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.6419, allocations: 1.713 MB / 1.483 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.642, allocations: 0 / 1.483 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.6427, allocations: 443.8 kB / 1.484 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.643, allocations: 95.52 kB / 1.484 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.566e-05/0.6431, allocations: 15.92 kB / 1.484 GB, free: 13.42 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.6435, allocations: 18.42 kB / 1.484 GB, free: 13.41 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.6436, allocations: 31.89 kB / 1.484 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/0.6436, allocations: 19.98 kB / 1.484 GB, free: 13.36 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005472/0.6442, allocations: 398.8 kB / 1.484 GB, free: 12.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6442, allocations: 0 / 1.484 GB, free: 12.97 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007279/0.6449, allocations: 203.7 kB / 1.485 GB, free: 12.77 MB / 1.186 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.0003094/0.6452, allocations: 150.8 kB / 1.485 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.6462, allocations: 0.5207 MB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6462, allocations: 4 kB / 1.485 GB, free: 12.06 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.6466, allocations: 246.5 kB / 1.486 GB, free: 11.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.6483, allocations: 371.1 kB / 1.486 GB, free: 11.45 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.6502, allocations: 1.041 MB / 1.487 GB, free: 10.37 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.6508, allocations: 0.9054 MB / 1.488 GB, free: 9.434 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.6509, allocations: 43.44 kB / 1.488 GB, free: 9.391 MB / 1.186 GB Notification: Performance of SimCode: time 1.363e-06/0.6509, allocations: 4 kB / 1.488 GB, free: 9.387 MB / 1.186 GB Notification: Performance of Templates: time 0.0208/0.6717, allocations: 13.51 MB / 1.501 GB, free: 11.97 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.149248191999504]