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.001384/0.001384, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001627/0.001627, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.824 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.921/2.921, allocations: 476 MB / 0.7699 GB, free: 4.812 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.002175/0.002175, allocations: 71.48 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4272, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2108/0.638, allocations: 150.9 MB / 1.43 GB, free: 4.559 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008291/0.6462, allocations: 4.014 MB / 1.434 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.6474, allocations: 31.75 kB / 1.434 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.6488, allocations: 330 kB / 1.435 GB, free: 184 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.6524, allocations: 1.038 MB / 1.436 GB, free: 15.14 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.6552, allocations: 0.825 MB / 1.436 GB, free: 14.32 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002406/0.6576, allocations: 1.317 MB / 1.438 GB, free: 13 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.6584, allocations: 376 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.6603, allocations: 0.7161 MB / 1.439 GB, free: 11.91 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.6618, allocations: 463.1 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.662, allocations: 52 kB / 1.439 GB, free: 11.41 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.6639, allocations: 0.7599 MB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.6642, allocations: 223.2 kB / 1.44 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.6648, allocations: 274.9 kB / 1.44 GB, free: 10.16 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.6675, allocations: 1.121 MB / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6675, allocations: 0 / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6675, allocations: 0 / 1.442 GB, free: 9.031 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.209e-05/0.6675, allocations: 0 / 1.442 GB, free: 9.031 MB / 1.139 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.002422/0.67, allocations: 0.8935 MB / 1.442 GB, free: 8.102 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.67, allocations: 8.031 kB / 1.442 GB, free: 8.094 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.6718, allocations: 267.4 kB / 1.443 GB, free: 7.832 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.673, allocations: 438.5 kB / 1.443 GB, free: 7.379 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.6731, allocations: 33 kB / 1.443 GB, free: 7.348 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.6732, allocations: 36 kB / 1.443 GB, free: 7.312 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.6748, allocations: 0.8947 MB / 1.444 GB, free: 6.328 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.6748, allocations: 3.938 kB / 1.444 GB, free: 6.324 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.6749, allocations: 16 kB / 1.444 GB, free: 6.309 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.6749, allocations: 20.98 kB / 1.444 GB, free: 6.289 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.6765, allocations: 0.5425 MB / 1.445 GB, free: 5.746 MB / 1.139 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.004381/0.6809, allocations: 1.806 MB / 1.446 GB, free: 3.879 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.6819, allocations: 270.3 kB / 1.447 GB, free: 3.605 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.6824, allocations: 160.7 kB / 1.447 GB, free: 3.445 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.6825, allocations: 4 kB / 1.447 GB, free: 3.441 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.6825, allocations: 38.5 kB / 1.447 GB, free: 3.395 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.6825, allocations: 4 kB / 1.447 GB, free: 3.391 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.005473/0.688, allocations: 1.009 MB / 1.448 GB, free: 2.371 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.688, allocations: 77.11 kB / 1.448 GB, free: 2.277 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/0.6886, allocations: 429.7 kB / 1.448 GB, free: 1.844 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.6887, allocations: 29.7 kB / 1.448 GB, free: 1.809 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.689, allocations: 315.6 kB / 1.449 GB, free: 1.496 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.6891, allocations: 43.69 kB / 1.449 GB, free: 1.453 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.6892, allocations: 57.66 kB / 1.449 GB, free: 1.391 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002483/0.6895, allocations: 354.7 kB / 1.449 GB, free: 1.035 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.6902, allocations: 187.8 kB / 1.449 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007069/0.6909, allocations: 288.2 kB / 1.45 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.6921, allocations: 407.4 kB / 1.45 GB, free: 108 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6922, allocations: 0 / 1.45 GB, free: 108 kB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00287/0.695, allocations: 0.7203 MB / 1.451 GB, free: 15.38 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.695, allocations: 8 kB / 1.451 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.6951, allocations: 0 / 1.451 GB, free: 15.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/0.6958, allocations: 184.7 kB / 1.451 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.6962, allocations: 71.89 kB / 1.451 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.7007, allocations: 2.086 MB / 1.453 GB, free: 12.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.7013, allocations: 63.84 kB / 1.453 GB, free: 12.87 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.7014, allocations: 12 kB / 1.453 GB, free: 12.86 MB / 1.154 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.0003874/0.7018, allocations: 189.7 kB / 1.453 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7019, allocations: 39.77 kB / 1.453 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.702, allocations: 43.2 kB / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.702, allocations: 0 / 1.453 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.702, allocations: 11.88 kB / 1.453 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.702, allocations: 4 kB / 1.453 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.7056, allocations: 0.992 MB / 1.454 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.7056, allocations: 4 kB / 1.454 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.7059, allocations: 35.95 kB / 1.454 GB, free: 11.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.7064, allocations: 188.7 kB / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.7064, allocations: 4 kB / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.7105, allocations: 2.037 MB / 1.456 GB, free: 9.148 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7105, allocations: 4.062 kB / 1.456 GB, free: 9.145 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.7132, allocations: 0.6887 MB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.7135, allocations: 75.72 kB / 1.457 GB, free: 8.355 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.7136, allocations: 7.938 kB / 1.457 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.7142, allocations: 47.94 kB / 1.457 GB, free: 8.301 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.7142, allocations: 19.91 kB / 1.457 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.7143, allocations: 15.98 kB / 1.457 GB, free: 8.266 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000412/0.7147, allocations: 287.1 kB / 1.458 GB, free: 7.992 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.7147, allocations: 0 / 1.458 GB, free: 7.992 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007482/0.7155, allocations: 195.5 kB / 1.458 GB, free: 7.801 MB / 1.154 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.0004008/0.7159, allocations: 155.1 kB / 1.458 GB, free: 7.641 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.7179, allocations: 0.514 MB / 1.458 GB, free: 7.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7179, allocations: 96 / 1.458 GB, free: 7.113 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.719, allocations: 302.9 kB / 1.459 GB, free: 6.805 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.7205, allocations: 203.2 kB / 1.459 GB, free: 6.609 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.7256, allocations: 1.06 MB / 1.46 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/0.7263, allocations: 259.9 kB / 1.46 GB, free: 5.238 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005344/0.7268, allocations: 91.2 kB / 1.46 GB, free: 5.148 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7269, allocations: 35.38 kB / 1.46 GB, free: 5.113 MB / 1.154 GB Notification: Performance of SimCode: time 1.383e-06/0.7269, allocations: 0 / 1.46 GB, free: 5.113 MB / 1.154 GB Notification: Performance of Templates: time 0.02217/0.7491, allocations: 10.46 MB / 1.47 GB, free: 10.87 MB / 1.17 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.944336287677288]