Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.001394/0.001394, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001509/0.001509, allocations: 213 kB / 22.24 MB, free: 4.855 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.789 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.379/3.379, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,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.MixingVolumePrescribedHeatFlowRate") [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.002114/0.002114, allocations: 74.19 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4084, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2146/0.623, allocations: 150.9 MB / 1.473 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007516/0.6305, allocations: 4.036 MB / 1.477 GB, free: 6.395 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008616/0.6313, allocations: 23.81 kB / 1.477 GB, free: 6.371 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6325, allocations: 330 kB / 1.477 GB, free: 6.047 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.636, allocations: 1.042 MB / 1.478 GB, free: 5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.6386, allocations: 0.8301 MB / 1.479 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.6408, allocations: 1.309 MB / 1.48 GB, free: 2.859 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.6416, allocations: 372 kB / 1.481 GB, free: 2.488 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.6434, allocations: 0.7434 MB / 1.481 GB, free: 1.742 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6447, allocations: 455.8 kB / 1.482 GB, free: 1.297 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.6448, allocations: 52 kB / 1.482 GB, free: 1.246 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.6464, allocations: 0.7482 MB / 1.483 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.6466, allocations: 219.4 kB / 1.483 GB, free: 288 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.647, allocations: 278.8 kB / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.6489, allocations: 1.114 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6489, allocations: 4 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6489, allocations: 3.938 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.6489, allocations: 0 / 1.484 GB, free: 14.88 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001919/0.6509, allocations: 0.8936 MB / 1.485 GB, free: 13.96 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6509, allocations: 8.031 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.6526, allocations: 271.3 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009612/0.6535, allocations: 438.5 kB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.6536, allocations: 32.94 kB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.867e-05/0.6536, allocations: 40 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.6551, allocations: 0.8907 MB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.6551, allocations: 3.938 kB / 1.487 GB, free: 12.17 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.603e-05/0.6552, allocations: 23.94 kB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.6552, allocations: 17 kB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.6567, allocations: 0.5503 MB / 1.487 GB, free: 11.58 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.004088/0.6608, allocations: 1.787 MB / 1.489 GB, free: 9.738 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.6618, allocations: 278.3 kB / 1.489 GB, free: 9.457 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.6624, allocations: 160.9 kB / 1.489 GB, free: 9.297 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.6624, allocations: 3.938 kB / 1.489 GB, free: 9.293 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.6625, allocations: 46.48 kB / 1.489 GB, free: 9.238 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/0.6625, allocations: 0 / 1.489 GB, free: 9.238 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005478/0.668, allocations: 0.9972 MB / 1.49 GB, free: 8.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.668, allocations: 85.09 kB / 1.49 GB, free: 8.129 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.6686, allocations: 421.8 kB / 1.491 GB, free: 7.711 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.6687, allocations: 29.7 kB / 1.491 GB, free: 7.676 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.669, allocations: 315.6 kB / 1.491 GB, free: 7.359 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.669, allocations: 43.67 kB / 1.491 GB, free: 7.316 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.6692, allocations: 61.64 kB / 1.491 GB, free: 7.25 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6693, allocations: 350.7 kB / 1.492 GB, free: 6.898 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.67, allocations: 199.8 kB / 1.492 GB, free: 6.703 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007241/0.6707, allocations: 291 kB / 1.492 GB, free: 6.379 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.672, allocations: 410.3 kB / 1.492 GB, free: 5.949 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.672, allocations: 4 kB / 1.492 GB, free: 5.945 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002891/0.6749, allocations: 0.7124 MB / 1.493 GB, free: 5.223 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.6749, allocations: 8 kB / 1.493 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6749, allocations: 4 kB / 1.493 GB, free: 5.211 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.6756, allocations: 188.8 kB / 1.493 GB, free: 5.023 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/0.676, allocations: 71.88 kB / 1.493 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/0.6805, allocations: 2.082 MB / 1.495 GB, free: 2.773 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006289/0.6811, allocations: 55.8 kB / 1.496 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.6812, allocations: 8 kB / 1.496 GB, free: 2.711 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 (26): * Single equations (assignments): 25 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.6815, allocations: 198.2 kB / 1.496 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6816, allocations: 43.75 kB / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.6817, allocations: 39.41 kB / 1.496 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6817, allocations: 0 / 1.496 GB, free: 2.422 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6817, allocations: 7.938 kB / 1.496 GB, free: 2.414 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6817, allocations: 0 / 1.496 GB, free: 2.414 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.6849, allocations: 0.9998 MB / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.685, allocations: 0 / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.6852, allocations: 47.95 kB / 1.497 GB, free: 1.32 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000591/0.6858, allocations: 172.7 kB / 1.497 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6858, allocations: 15.98 kB / 1.497 GB, free: 1.133 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004016/0.6899, allocations: 2.037 MB / 1.499 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.6899, allocations: 4 kB / 1.499 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.6927, allocations: 0.681 MB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.6931, allocations: 79.7 kB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.6931, allocations: 4 kB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.6937, allocations: 49.98 kB / 1.5 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.6938, allocations: 11.97 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.6938, allocations: 15.98 kB / 1.5 GB, free: 14.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004257/0.6943, allocations: 291.1 kB / 1.5 GB, free: 13.84 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6943, allocations: 0 / 1.5 GB, free: 13.84 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008114/0.6951, allocations: 199.5 kB / 1.5 GB, free: 13.64 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 (7): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003476/0.6954, allocations: 164.2 kB / 1.5 GB, free: 13.48 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.6971, allocations: 0.5127 MB / 1.501 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6971, allocations: 4.125 kB / 1.501 GB, free: 12.95 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.6979, allocations: 294.6 kB / 1.501 GB, free: 12.65 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.6989, allocations: 196 kB / 1.501 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.7022, allocations: 1.053 MB / 1.502 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.7026, allocations: 264 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.7029, allocations: 83.25 kB / 1.503 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.703, allocations: 35.42 kB / 1.503 GB, free: 10.97 MB / 1.201 GB Notification: Performance of SimCode: time 9.22e-07/0.703, allocations: 0 / 1.503 GB, free: 10.97 MB / 1.201 GB Notification: Performance of Templates: time 0.02004/0.7231, allocations: 10.47 MB / 1.513 GB, free: 0.707 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.204283704981208]