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.001529/0.001529, 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.00165/0.00165, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.325/1.325, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] 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 2.864/2.864, allocations: 0.49 GB / 0.7958 GB, free: 33.38 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.002035/0.002035, allocations: 66.88 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2885, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1871/0.4756, allocations: 174.7 MB / 1.498 GB, free: 2.102 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006402/0.482, allocations: 4.329 MB / 1.502 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.4825, allocations: 31.81 kB / 1.502 GB, free: 13.73 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.4834, allocations: 365.9 kB / 1.502 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.4856, allocations: 1.042 MB / 1.503 GB, free: 12.33 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.4876, allocations: 0.8401 MB / 1.504 GB, free: 11.49 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.4893, allocations: 1.317 MB / 1.505 GB, free: 10.17 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.4899, allocations: 380 kB / 1.506 GB, free: 9.789 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.4912, allocations: 0.7395 MB / 1.507 GB, free: 9.047 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.4923, allocations: 476 kB / 1.507 GB, free: 8.582 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/0.4924, allocations: 56 kB / 1.507 GB, free: 8.527 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.4941, allocations: 0.951 MB / 1.508 GB, free: 7.574 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.4943, allocations: 215.3 kB / 1.508 GB, free: 7.363 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.4947, allocations: 334.5 kB / 1.509 GB, free: 7.035 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.4962, allocations: 1.137 MB / 1.51 GB, free: 5.895 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4963, allocations: 0 / 1.51 GB, free: 5.895 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4963, allocations: 0 / 1.51 GB, free: 5.895 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.4963, allocations: 0 / 1.51 GB, free: 5.895 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.001636/0.4979, allocations: 0.8974 MB / 1.51 GB, free: 4.965 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.4979, allocations: 8.031 kB / 1.511 GB, free: 4.957 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/0.4995, allocations: 271.3 kB / 1.511 GB, free: 4.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.5004, allocations: 442.5 kB / 1.511 GB, free: 4.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.5005, allocations: 37 kB / 1.511 GB, free: 4.195 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.5005, allocations: 43.98 kB / 1.511 GB, free: 4.152 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5017, allocations: 0.6107 MB / 1.512 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5018, allocations: 0 / 1.512 GB, free: 3.516 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.5018, allocations: 24 kB / 1.512 GB, free: 3.492 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.5019, allocations: 21 kB / 1.512 GB, free: 3.473 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.5032, allocations: 0.5425 MB / 1.512 GB, free: 2.93 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.004076/0.5073, allocations: 2.225 MB / 1.515 GB, free: 0.5898 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008501/0.5081, allocations: 270.3 kB / 1.515 GB, free: 324 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.5086, allocations: 168.7 kB / 1.515 GB, free: 152 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5086, allocations: 11.88 kB / 1.515 GB, free: 140 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.5087, allocations: 34.55 kB / 1.515 GB, free: 96 kB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.5087, allocations: 0 / 1.515 GB, free: 96 kB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.004798/0.5135, allocations: 1.017 MB / 1.516 GB, free: 15.07 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.5135, allocations: 81.11 kB / 1.516 GB, free: 14.97 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.5142, allocations: 0.5496 MB / 1.517 GB, free: 14.41 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.5143, allocations: 33.7 kB / 1.517 GB, free: 14.37 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.5145, allocations: 304 kB / 1.517 GB, free: 14.07 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.5145, allocations: 39.67 kB / 1.517 GB, free: 14.03 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.5147, allocations: 61.66 kB / 1.517 GB, free: 13.96 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5148, allocations: 358.8 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.5154, allocations: 191.8 kB / 1.518 GB, free: 13.42 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.516, allocations: 261.3 kB / 1.518 GB, free: 13.13 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5171, allocations: 414.2 kB / 1.518 GB, free: 12.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5171, allocations: 0 / 1.518 GB, free: 12.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00252/0.5196, allocations: 0.7258 MB / 1.519 GB, free: 11.96 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5196, allocations: 15.92 kB / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5196, allocations: 96 / 1.519 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.5202, allocations: 184.7 kB / 1.519 GB, free: 11.76 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.5206, allocations: 75.88 kB / 1.519 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/0.5244, allocations: 2.126 MB / 1.521 GB, free: 9.445 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.525, allocations: 75.69 kB / 1.521 GB, free: 9.371 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.525, allocations: 8 kB / 1.521 GB, free: 9.363 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.0002742/0.5253, allocations: 194.3 kB / 1.522 GB, free: 9.164 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.5254, allocations: 59.66 kB / 1.522 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.79e-05/0.5255, allocations: 51.92 kB / 1.522 GB, free: 9.055 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5255, allocations: 0 / 1.522 GB, free: 9.055 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5255, allocations: 3.984 kB / 1.522 GB, free: 9.051 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5255, allocations: 7.938 kB / 1.522 GB, free: 9.043 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.5285, allocations: 1.097 MB / 1.523 GB, free: 7.887 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5285, allocations: 4 kB / 1.523 GB, free: 7.883 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.5287, allocations: 44.2 kB / 1.523 GB, free: 7.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/0.5292, allocations: 180.7 kB / 1.523 GB, free: 7.66 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.5292, allocations: 11.98 kB / 1.523 GB, free: 7.648 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.5327, allocations: 2.084 MB / 1.525 GB, free: 5.449 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5327, allocations: 0 / 1.525 GB, free: 5.449 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002318/0.535, allocations: 0.7003 MB / 1.526 GB, free: 4.723 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.5353, allocations: 95.61 kB / 1.526 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.5354, allocations: 4 kB / 1.526 GB, free: 4.625 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.5359, allocations: 56.83 kB / 1.526 GB, free: 4.57 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.5359, allocations: 11.97 kB / 1.526 GB, free: 4.559 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.536, allocations: 20.17 kB / 1.526 GB, free: 4.539 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004711/0.5365, allocations: 390.8 kB / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5365, allocations: 0 / 1.526 GB, free: 4.16 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006188/0.5371, allocations: 191.7 kB / 1.526 GB, free: 3.973 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.000293/0.5374, allocations: 167.1 kB / 1.527 GB, free: 3.797 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.5389, allocations: 0.5121 MB / 1.527 GB, free: 3.273 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5389, allocations: 0 / 1.527 GB, free: 3.273 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007033/0.5396, allocations: 295 kB / 1.527 GB, free: 2.973 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.5409, allocations: 312.7 kB / 1.528 GB, free: 2.672 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.5439, allocations: 1.113 MB / 1.529 GB, free: 1.512 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.5444, allocations: 0.862 MB / 1.53 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5445, allocations: 39.42 kB / 1.53 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of SimCode: time 4.71e-07/0.5446, allocations: 0 / 1.53 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of Templates: time 0.01538/0.5599, allocations: 11.17 MB / 1.541 GB, free: 5.5 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: 11.972007877018768]