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.001559/0.001559, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00189/0.00189, allocations: 215.2 kB / 23.04 MB, free: 4.867 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.001976/0.001976, allocations: 67.22 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3357, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1823/0.5179, allocations: 150.9 MB / 1.475 GB, free: 9.539 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007023/0.525, allocations: 4.023 MB / 1.478 GB, free: 5.512 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.5257, allocations: 31.75 kB / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.5268, allocations: 330 kB / 1.479 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.5298, allocations: 1.038 MB / 1.48 GB, free: 4.113 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.5325, allocations: 0.8389 MB / 1.481 GB, free: 3.281 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001919/0.5344, allocations: 1.302 MB / 1.482 GB, free: 1.973 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.535, allocations: 387.9 kB / 1.482 GB, free: 1.586 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.5365, allocations: 0.7473 MB / 1.483 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.5376, allocations: 444.1 kB / 1.483 GB, free: 412 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5377, allocations: 52 kB / 1.483 GB, free: 360 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.5392, allocations: 0.7521 MB / 1.484 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.5395, allocations: 219.3 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.5398, allocations: 278.8 kB / 1.485 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.5414, allocations: 1.121 MB / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5414, allocations: 0 / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5414, allocations: 0 / 1.486 GB, free: 13.98 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.5415, allocations: 4 kB / 1.486 GB, free: 13.98 MB / 1.186 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.001717/0.5432, allocations: 0.8858 MB / 1.487 GB, free: 13.06 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.5432, allocations: 12.03 kB / 1.487 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.5449, allocations: 263.3 kB / 1.487 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.5459, allocations: 442.5 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.5459, allocations: 36.98 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.546, allocations: 40 kB / 1.487 GB, free: 12.26 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5475, allocations: 0.8907 MB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5475, allocations: 0 / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.5475, allocations: 16 kB / 1.488 GB, free: 11.26 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.5476, allocations: 24.94 kB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.549, allocations: 0.5464 MB / 1.489 GB, free: 10.69 MB / 1.186 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.003895/0.5529, allocations: 1.783 MB / 1.491 GB, free: 8.852 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.5538, allocations: 278.3 kB / 1.491 GB, free: 8.57 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.5544, allocations: 156.7 kB / 1.491 GB, free: 8.414 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.5544, allocations: 4 kB / 1.491 GB, free: 8.41 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5545, allocations: 46.5 kB / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.5545, allocations: 0 / 1.491 GB, free: 8.355 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005174/0.5596, allocations: 1.005 MB / 1.492 GB, free: 7.34 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5597, allocations: 81.11 kB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/0.5602, allocations: 421.8 kB / 1.492 GB, free: 6.824 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.5602, allocations: 33.64 kB / 1.493 GB, free: 6.785 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.5605, allocations: 319.6 kB / 1.493 GB, free: 6.465 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.5605, allocations: 43.69 kB / 1.493 GB, free: 6.422 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.5607, allocations: 61.64 kB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5608, allocations: 346.8 kB / 1.493 GB, free: 6.008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.5614, allocations: 191.8 kB / 1.493 GB, free: 5.82 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.5621, allocations: 290.9 kB / 1.494 GB, free: 5.496 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5633, allocations: 409.4 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5633, allocations: 0 / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002699/0.566, allocations: 0.7263 MB / 1.495 GB, free: 4.332 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.566, allocations: 4 kB / 1.495 GB, free: 4.328 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5661, allocations: 4 kB / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.5667, allocations: 188.8 kB / 1.495 GB, free: 4.137 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.5671, allocations: 71.89 kB / 1.495 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.5711, allocations: 2.082 MB / 1.497 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.5717, allocations: 59.86 kB / 1.497 GB, free: 1.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5717, allocations: 12 kB / 1.497 GB, free: 1.816 MB / 1.186 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.0002919/0.572, allocations: 190.2 kB / 1.497 GB, free: 1.621 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.5721, allocations: 39.77 kB / 1.497 GB, free: 1.582 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.5722, allocations: 47.2 kB / 1.497 GB, free: 1.535 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.5722, allocations: 4 kB / 1.497 GB, free: 1.531 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5722, allocations: 4.125 kB / 1.497 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5722, allocations: 0 / 1.497 GB, free: 1.527 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5753, allocations: 0.9998 MB / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5753, allocations: 0 / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.5755, allocations: 35.95 kB / 1.498 GB, free: 456 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005856/0.5761, allocations: 188.7 kB / 1.499 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.5761, allocations: 0 / 1.499 GB, free: 264 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.5799, allocations: 2.041 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5799, allocations: 192 / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.5825, allocations: 0.6969 MB / 1.501 GB, free: 13.39 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5828, allocations: 83.69 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.5829, allocations: 4 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.5834, allocations: 43.95 kB / 1.501 GB, free: 13.26 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5834, allocations: 19.97 kB / 1.501 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.5835, allocations: 11.98 kB / 1.501 GB, free: 13.23 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000345/0.5838, allocations: 287.1 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5838, allocations: 0 / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006698/0.5845, allocations: 199.5 kB / 1.502 GB, free: 12.75 MB / 1.201 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.0003148/0.5848, allocations: 155.1 kB / 1.502 GB, free: 12.59 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.5867, allocations: 0.5179 MB / 1.503 GB, free: 12.06 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5867, allocations: 4 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007481/0.5874, allocations: 295 kB / 1.503 GB, free: 11.75 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5886, allocations: 197.9 kB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.5922, allocations: 1.094 MB / 1.504 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.5925, allocations: 256 kB / 1.504 GB, free: 10.15 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.5926, allocations: 31.44 kB / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of SimCode: time 1.102e-06/0.5926, allocations: 0 / 1.504 GB, free: 10.12 MB / 1.201 GB Notification: Performance of Templates: time 0.01465/0.6073, allocations: 9.983 MB / 1.514 GB, free: 212 kB / 1.201 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: 12.70925576519221]