Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001801/0.001801, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002223/0.002223, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.988 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.999/2.999, allocations: 476.7 MB / 0.7706 GB, free: 4.316 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumePrescribedHeatFlowRate,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.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_11_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.002127/0.002127, allocations: 66.78 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3918, allocations: 170 MB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2264/0.6181, allocations: 174.7 MB / 1.454 GB, free: 11.92 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00868/0.6268, allocations: 4.317 MB / 1.459 GB, free: 7.594 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.6278, allocations: 31.75 kB / 1.459 GB, free: 7.562 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.6292, allocations: 377.9 kB / 1.459 GB, free: 7.191 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.6326, allocations: 1.046 MB / 1.46 GB, free: 6.141 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.6355, allocations: 0.8357 MB / 1.461 GB, free: 5.309 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002521/0.638, allocations: 1.324 MB / 1.462 GB, free: 3.984 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007697/0.6388, allocations: 384 kB / 1.462 GB, free: 3.605 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.6405, allocations: 0.716 MB / 1.463 GB, free: 2.887 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.6418, allocations: 477 kB / 1.464 GB, free: 2.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.6419, allocations: 52 kB / 1.464 GB, free: 2.371 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.6439, allocations: 0.9549 MB / 1.465 GB, free: 1.414 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.6442, allocations: 223.3 kB / 1.465 GB, free: 1.195 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.6447, allocations: 330.5 kB / 1.465 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.6466, allocations: 1.141 MB / 1.466 GB, free: 15.73 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.6466, allocations: 0 / 1.466 GB, free: 15.73 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.572e-06/0.6466, allocations: 3.938 kB / 1.466 GB, free: 15.72 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.6466, allocations: 0 / 1.466 GB, free: 15.72 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001955/0.6485, allocations: 0.8936 MB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6486, allocations: 8.031 kB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.6503, allocations: 267.3 kB / 1.467 GB, free: 14.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.6514, allocations: 442.5 kB / 1.468 GB, free: 14.07 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.6514, allocations: 29 kB / 1.468 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.6515, allocations: 40 kB / 1.468 GB, free: 14 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6529, allocations: 0.6146 MB / 1.469 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6529, allocations: 0 / 1.469 GB, free: 13.37 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.653, allocations: 23.98 kB / 1.469 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.653, allocations: 21 kB / 1.469 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.6545, allocations: 0.5464 MB / 1.469 GB, free: 12.77 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.004656/0.6592, allocations: 2.233 MB / 1.471 GB, free: 10.42 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.6602, allocations: 270.3 kB / 1.472 GB, free: 10.14 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.6607, allocations: 168.7 kB / 1.472 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.6608, allocations: 7.922 kB / 1.472 GB, free: 9.969 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.6608, allocations: 38.56 kB / 1.472 GB, free: 9.922 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 2.675e-06/0.6608, allocations: 0 / 1.472 GB, free: 9.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.005416/0.6662, allocations: 1.013 MB / 1.473 GB, free: 8.898 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.6663, allocations: 81.11 kB / 1.473 GB, free: 8.801 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008285/0.6672, allocations: 0.5573 MB / 1.473 GB, free: 8.234 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.115e-05/0.6672, allocations: 33.7 kB / 1.473 GB, free: 8.195 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/0.6675, allocations: 300.1 kB / 1.474 GB, free: 7.898 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.6676, allocations: 39.69 kB / 1.474 GB, free: 7.859 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.6677, allocations: 61.64 kB / 1.474 GB, free: 7.793 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002428/0.668, allocations: 354.8 kB / 1.474 GB, free: 7.438 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.6686, allocations: 191.8 kB / 1.474 GB, free: 7.25 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.6693, allocations: 262.5 kB / 1.475 GB, free: 6.961 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.6705, allocations: 408.2 kB / 1.475 GB, free: 6.531 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.6705, allocations: 3.938 kB / 1.475 GB, free: 6.527 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002965/0.6734, allocations: 0.7387 MB / 1.476 GB, free: 5.781 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.6735, allocations: 10.81 kB / 1.476 GB, free: 5.773 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6735, allocations: 0 / 1.476 GB, free: 5.773 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/0.6742, allocations: 184.8 kB / 1.476 GB, free: 5.59 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.6746, allocations: 75.86 kB / 1.476 GB, free: 5.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004763/0.6794, allocations: 2.126 MB / 1.478 GB, free: 3.273 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007828/0.6802, allocations: 79.67 kB / 1.478 GB, free: 3.195 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.6802, allocations: 8 kB / 1.478 GB, free: 3.188 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 (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.0003867/0.6806, allocations: 194.6 kB / 1.478 GB, free: 2.988 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6807, allocations: 51.67 kB / 1.478 GB, free: 2.938 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.6808, allocations: 59.97 kB / 1.478 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6808, allocations: 0 / 1.478 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6808, allocations: 0 / 1.478 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6808, allocations: 0 / 1.478 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004364/0.6852, allocations: 1.105 MB / 1.479 GB, free: 1.715 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6852, allocations: 0 / 1.479 GB, free: 1.715 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.6856, allocations: 44.02 kB / 1.479 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008986/0.6865, allocations: 172.7 kB / 1.48 GB, free: 1.5 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.6865, allocations: 12 kB / 1.48 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005787/0.6923, allocations: 2.084 MB / 1.482 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6923, allocations: 3.984 kB / 1.482 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003566/0.6959, allocations: 0.7003 MB / 1.482 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006125/0.6965, allocations: 99.55 kB / 1.482 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6966, allocations: 0 / 1.482 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008737/0.6975, allocations: 55.88 kB / 1.483 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.6976, allocations: 7.984 kB / 1.483 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.6977, allocations: 15.98 kB / 1.483 GB, free: 14.38 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008067/0.6985, allocations: 402.9 kB / 1.483 GB, free: 13.99 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6985, allocations: 3.938 kB / 1.483 GB, free: 13.99 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001127/0.6996, allocations: 175.8 kB / 1.483 GB, free: 13.82 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 (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.0004718/0.7001, allocations: 163 kB / 1.483 GB, free: 13.64 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.7024, allocations: 0.5179 MB / 1.484 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/0.7024, allocations: 4 kB / 1.484 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.7034, allocations: 294.9 kB / 1.484 GB, free: 12.81 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.7056, allocations: 320.1 kB / 1.484 GB, free: 12.5 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004863/0.7104, allocations: 1.069 MB / 1.485 GB, free: 11.39 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.7113, allocations: 0.8659 MB / 1.486 GB, free: 10.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005528/0.7118, allocations: 100.5 kB / 1.486 GB, free: 10.4 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.712, allocations: 43.42 kB / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of SimCode: time 2.034e-06/0.712, allocations: 0 / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of Templates: time 0.02994/0.7419, allocations: 12.74 MB / 1.499 GB, free: 13.79 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.953488992061466]