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.001769/0.001769, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002273/0.002273, allocations: 217 kB / 22.26 MB, free: 5.117 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.012 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.111/3.111, allocations: 0.49 GB / 0.7951 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.002049/0.002049, allocations: 69.92 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2888, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2013/0.4901, allocations: 174.7 MB / 1.497 GB, free: 2.066 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006897/0.497, allocations: 4.321 MB / 1.501 GB, free: 13.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.4976, allocations: 31.75 kB / 1.501 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009967/0.4986, allocations: 373.9 kB / 1.502 GB, free: 13.34 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.5011, allocations: 1.046 MB / 1.503 GB, free: 12.29 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.5032, allocations: 0.8405 MB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.505, allocations: 1.306 MB / 1.505 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006217/0.5056, allocations: 391.9 kB / 1.505 GB, free: 9.75 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.507, allocations: 0.7356 MB / 1.506 GB, free: 9.012 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.5081, allocations: 478.2 kB / 1.506 GB, free: 8.547 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5082, allocations: 59.94 kB / 1.506 GB, free: 8.488 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.51, allocations: 0.951 MB / 1.507 GB, free: 7.535 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002428/0.5102, allocations: 215.3 kB / 1.507 GB, free: 7.324 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.5106, allocations: 330.5 kB / 1.508 GB, free: 7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.5122, allocations: 1.141 MB / 1.509 GB, free: 5.855 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5122, allocations: 0 / 1.509 GB, free: 5.855 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5122, allocations: 0 / 1.509 GB, free: 5.855 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5122, allocations: 0 / 1.509 GB, free: 5.855 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.001725/0.514, allocations: 0.9013 MB / 1.51 GB, free: 4.922 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.514, allocations: 8.031 kB / 1.51 GB, free: 4.914 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.5157, allocations: 263.3 kB / 1.51 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/0.5166, allocations: 442.5 kB / 1.51 GB, free: 4.195 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.5167, allocations: 29 kB / 1.51 GB, free: 4.168 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.5167, allocations: 40 kB / 1.51 GB, free: 4.129 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.518, allocations: 0.6185 MB / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.518, allocations: 0 / 1.511 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.5181, allocations: 20 kB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/0.5181, allocations: 17 kB / 1.511 GB, free: 3.449 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.5195, allocations: 0.5542 MB / 1.512 GB, free: 2.895 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.004172/0.5237, allocations: 2.225 MB / 1.514 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009134/0.5246, allocations: 270.4 kB / 1.514 GB, free: 288 kB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000531/0.5252, allocations: 164.7 kB / 1.514 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.5252, allocations: 11.94 kB / 1.514 GB, free: 108 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5252, allocations: 34.5 kB / 1.514 GB, free: 64 kB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.5252, allocations: 4 kB / 1.514 GB, free: 60 kB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005225/0.5304, allocations: 1.013 MB / 1.515 GB, free: 15.03 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.5305, allocations: 81.11 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/0.5312, allocations: 0.5535 MB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.5313, allocations: 29.7 kB / 1.516 GB, free: 14.34 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.5315, allocations: 307.9 kB / 1.516 GB, free: 14.04 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.5316, allocations: 43.69 kB / 1.516 GB, free: 13.99 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.5317, allocations: 53.66 kB / 1.516 GB, free: 13.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5319, allocations: 358.8 kB / 1.517 GB, free: 13.57 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.5325, allocations: 195.8 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006408/0.5331, allocations: 261.3 kB / 1.517 GB, free: 13.09 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.5342, allocations: 408 kB / 1.517 GB, free: 12.67 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5342, allocations: 4 kB / 1.517 GB, free: 12.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00274/0.537, allocations: 0.7319 MB / 1.518 GB, free: 11.92 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.537, allocations: 4 kB / 1.518 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.537, allocations: 4 kB / 1.518 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/0.5377, allocations: 184.7 kB / 1.518 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.538, allocations: 71.94 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.5421, allocations: 2.135 MB / 1.521 GB, free: 9.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006126/0.5427, allocations: 71.69 kB / 1.521 GB, free: 9.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.5427, allocations: 15.98 kB / 1.521 GB, free: 9.324 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.0002709/0.543, allocations: 186.3 kB / 1.521 GB, free: 9.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5431, allocations: 55.67 kB / 1.521 GB, free: 9.078 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.5432, allocations: 51.97 kB / 1.521 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5432, allocations: 7.938 kB / 1.521 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.5432, allocations: 0 / 1.521 GB, free: 9.02 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5432, allocations: 3.938 kB / 1.521 GB, free: 9.016 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.5464, allocations: 1.105 MB / 1.522 GB, free: 7.852 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5464, allocations: 0 / 1.522 GB, free: 7.852 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.5467, allocations: 40.02 kB / 1.522 GB, free: 7.812 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/0.5472, allocations: 184.7 kB / 1.522 GB, free: 7.629 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.5472, allocations: 4 kB / 1.522 GB, free: 7.625 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.551, allocations: 2.091 MB / 1.524 GB, free: 5.418 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.551, allocations: 4.031 kB / 1.524 GB, free: 5.414 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5535, allocations: 0.6965 MB / 1.525 GB, free: 4.691 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.5538, allocations: 95.61 kB / 1.525 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.5539, allocations: 7.938 kB / 1.525 GB, free: 4.59 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005967/0.5545, allocations: 55.83 kB / 1.525 GB, free: 4.535 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.5546, allocations: 11.97 kB / 1.525 GB, free: 4.523 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.5546, allocations: 19.98 kB / 1.525 GB, free: 4.504 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005283/0.5552, allocations: 390.8 kB / 1.525 GB, free: 4.125 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5552, allocations: 0 / 1.525 GB, free: 4.125 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006709/0.5558, allocations: 187.7 kB / 1.526 GB, free: 3.941 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.0003197/0.5562, allocations: 163.1 kB / 1.526 GB, free: 3.77 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.5577, allocations: 0.5042 MB / 1.526 GB, free: 3.254 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5577, allocations: 4.031 kB / 1.526 GB, free: 3.25 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007255/0.5584, allocations: 302.9 kB / 1.527 GB, free: 2.941 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5599, allocations: 310.5 kB / 1.527 GB, free: 2.641 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.5631, allocations: 1.077 MB / 1.528 GB, free: 1.523 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.5636, allocations: 0.862 MB / 1.529 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.564, allocations: 108.5 kB / 1.529 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.5641, allocations: 39.44 kB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/0.5641, allocations: 0 / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of Templates: time 0.02303/0.5871, allocations: 12.76 MB / 1.541 GB, free: 3.914 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/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: 9.015287798829377]