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.001366/0.001366, allocations: 118.6 kB / 17.13 MB, free: 5.938 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.001499/0.001499, allocations: 204.8 kB / 20.09 MB, free: 2.992 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.418/1.418, allocations: 230.6 MB / 253.5 MB, free: 8.953 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.087/3.087, allocations: 0.49 GB / 0.7923 GB, free: 33.32 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.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.002016/0.002016, allocations: 72.58 kB / 1.15 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 176.1 MB / 1.322 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2039/0.535, allocations: 174.5 MB / 1.492 GB, free: 3.668 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0074/0.5424, allocations: 4.315 MB / 1.497 GB, free: 15.34 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008356/0.5432, allocations: 31.75 kB / 1.497 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.5444, allocations: 362 kB / 1.497 GB, free: 14.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.5471, allocations: 1.023 MB / 1.498 GB, free: 13.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.5493, allocations: 0.8225 MB / 1.499 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001903/0.5512, allocations: 1.299 MB / 1.5 GB, free: 11.81 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006427/0.5518, allocations: 407.4 kB / 1.5 GB, free: 11.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.5533, allocations: 0.7356 MB / 1.501 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.5545, allocations: 487.8 kB / 1.502 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.5546, allocations: 52 kB / 1.502 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.5564, allocations: 0.9354 MB / 1.503 GB, free: 9.203 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.5567, allocations: 215.3 kB / 1.503 GB, free: 8.992 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.5571, allocations: 330.5 kB / 1.503 GB, free: 8.668 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.559, allocations: 1.145 MB / 1.504 GB, free: 7.52 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.559, allocations: 0 / 1.504 GB, free: 7.52 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.743e-06/0.559, allocations: 0 / 1.504 GB, free: 7.52 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.559, allocations: 4 kB / 1.504 GB, free: 7.516 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001831/0.5609, allocations: 0.965 MB / 1.505 GB, free: 6.496 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5609, allocations: 15.98 kB / 1.505 GB, free: 6.48 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5626, allocations: 263.3 kB / 1.505 GB, free: 6.223 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009683/0.5636, allocations: 0.4978 MB / 1.506 GB, free: 5.688 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.5637, allocations: 36.98 kB / 1.506 GB, free: 5.652 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.5637, allocations: 36 kB / 1.506 GB, free: 5.617 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.5651, allocations: 0.6107 MB / 1.507 GB, free: 4.984 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5651, allocations: 4 kB / 1.507 GB, free: 4.98 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.5652, allocations: 24 kB / 1.507 GB, free: 4.957 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.5652, allocations: 20.98 kB / 1.507 GB, free: 4.938 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5667, allocations: 0.5425 MB / 1.507 GB, free: 4.391 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.004255/0.5709, allocations: 2.277 MB / 1.509 GB, free: 1.988 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009976/0.5719, allocations: 278.3 kB / 1.51 GB, free: 1.707 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.5725, allocations: 168.7 kB / 1.51 GB, free: 1.539 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.5725, allocations: 7.922 kB / 1.51 GB, free: 1.531 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5726, allocations: 34.56 kB / 1.51 GB, free: 1.488 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.5726, allocations: 0 / 1.51 GB, free: 1.488 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005441/0.578, allocations: 1.096 MB / 1.511 GB, free: 372 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.5781, allocations: 77.11 kB / 1.511 GB, free: 276 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.5789, allocations: 0.5573 MB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/0.579, allocations: 29.7 kB / 1.512 GB, free: 15.67 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.5792, allocations: 300.1 kB / 1.512 GB, free: 15.37 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.5793, allocations: 47.61 kB / 1.512 GB, free: 15.32 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5794, allocations: 69.61 kB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5796, allocations: 358.8 kB / 1.512 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.5802, allocations: 187.8 kB / 1.512 GB, free: 14.71 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000716/0.581, allocations: 273.2 kB / 1.513 GB, free: 14.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/0.5822, allocations: 402.5 kB / 1.513 GB, free: 13.98 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5822, allocations: 0 / 1.513 GB, free: 13.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002914/0.5851, allocations: 0.7339 MB / 1.514 GB, free: 13.24 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5851, allocations: 4 kB / 1.514 GB, free: 13.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5851, allocations: 7.938 kB / 1.514 GB, free: 13.23 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006767/0.5858, allocations: 176.8 kB / 1.514 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.5862, allocations: 75.89 kB / 1.514 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/0.5905, allocations: 2.229 MB / 1.516 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.5912, allocations: 67.62 kB / 1.516 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.5912, allocations: 23.98 kB / 1.516 GB, free: 10.53 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 (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.0003302/0.5916, allocations: 191.7 kB / 1.517 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5917, allocations: 55.67 kB / 1.517 GB, free: 10.28 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.5918, allocations: 51.97 kB / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5918, allocations: 4 kB / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5918, allocations: 0 / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5918, allocations: 4 kB / 1.517 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.5951, allocations: 1.121 MB / 1.518 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5951, allocations: 4 kB / 1.518 GB, free: 9.023 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.5954, allocations: 35.95 kB / 1.518 GB, free: 8.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005712/0.5959, allocations: 188.7 kB / 1.518 GB, free: 8.801 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5959, allocations: 4 kB / 1.518 GB, free: 8.797 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.5999, allocations: 2.191 MB / 1.52 GB, free: 6.461 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5999, allocations: 3.938 kB / 1.52 GB, free: 6.457 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/0.6026, allocations: 0.7005 MB / 1.521 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.6029, allocations: 164.7 kB / 1.521 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.603, allocations: 8 kB / 1.521 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/0.6036, allocations: 51.88 kB / 1.521 GB, free: 5.492 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.6037, allocations: 15.92 kB / 1.521 GB, free: 5.477 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/0.6037, allocations: 11.98 kB / 1.521 GB, free: 5.465 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005249/0.6042, allocations: 390.8 kB / 1.521 GB, free: 5.086 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6042, allocations: 4 kB / 1.521 GB, free: 5.082 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007162/0.6049, allocations: 183.7 kB / 1.522 GB, free: 4.902 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 (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.0003556/0.6053, allocations: 176.8 kB / 1.522 GB, free: 4.723 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.607, allocations: 0.5179 MB / 1.522 GB, free: 4.191 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.607, allocations: 0 / 1.522 GB, free: 4.191 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007758/0.6078, allocations: 306.9 kB / 1.523 GB, free: 3.879 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6093, allocations: 303.7 kB / 1.523 GB, free: 3.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.6127, allocations: 1.11 MB / 1.524 GB, free: 2.434 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.6132, allocations: 0.862 MB / 1.525 GB, free: 1.543 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.6133, allocations: 39.44 kB / 1.525 GB, free: 1.508 MB / 1.217 GB Notification: Performance of SimCode: time 9.72e-07/0.6133, allocations: 4 kB / 1.525 GB, free: 1.504 MB / 1.217 GB Notification: Performance of Templates: time 0.01726/0.6306, allocations: 11.17 MB / 1.536 GB, free: 6.418 MB / 1.232 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/jenkins1/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: 13.212557929000468]