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.001905/0.001905, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002353/0.002353, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.081/3.081, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.00337/0.00337, allocations: 67.47 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3645, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1904/0.5549, allocations: 150.9 MB / 1.474 GB, free: 9.535 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007212/0.5621, allocations: 4.027 MB / 1.478 GB, free: 5.5 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007166/0.5628, allocations: 27.75 kB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.5638, allocations: 330 kB / 1.479 GB, free: 5.148 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.5664, allocations: 1.042 MB / 1.48 GB, free: 4.102 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.5687, allocations: 0.8363 MB / 1.481 GB, free: 3.27 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.5707, allocations: 1.307 MB / 1.482 GB, free: 1.957 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.5713, allocations: 391.8 kB / 1.482 GB, free: 1.566 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.5728, allocations: 0.7434 MB / 1.483 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.5739, allocations: 471.8 kB / 1.483 GB, free: 368 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.574, allocations: 52 kB / 1.483 GB, free: 316 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5755, allocations: 0.7756 MB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.5758, allocations: 215.3 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.5761, allocations: 278.8 kB / 1.485 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.5778, allocations: 1.121 MB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5778, allocations: 4 kB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5778, allocations: 0 / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5778, allocations: 0 / 1.486 GB, free: 13.92 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.001829/0.5796, allocations: 0.8935 MB / 1.487 GB, free: 12.99 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5797, allocations: 8.031 kB / 1.487 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.5815, allocations: 267.3 kB / 1.487 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.5825, allocations: 438.5 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.5826, allocations: 36.98 kB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.5827, allocations: 36 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5842, allocations: 0.8907 MB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5842, allocations: 3.938 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.5843, allocations: 16 kB / 1.488 GB, free: 11.19 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.5843, allocations: 21 kB / 1.488 GB, free: 11.17 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.5858, allocations: 0.5425 MB / 1.489 GB, free: 10.63 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.004116/0.5899, allocations: 1.791 MB / 1.491 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.5909, allocations: 274.3 kB / 1.491 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005652/0.5914, allocations: 160.7 kB / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.5915, allocations: 0 / 1.491 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5915, allocations: 42.5 kB / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.5915, allocations: 0 / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005579/0.5971, allocations: 1.017 MB / 1.492 GB, free: 7.27 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.5971, allocations: 77.11 kB / 1.492 GB, free: 7.176 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.5977, allocations: 429.7 kB / 1.492 GB, free: 6.746 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.5977, allocations: 29.7 kB / 1.493 GB, free: 6.711 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.598, allocations: 315.6 kB / 1.493 GB, free: 6.395 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.598, allocations: 39.69 kB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.5982, allocations: 57.66 kB / 1.493 GB, free: 6.293 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5983, allocations: 350.7 kB / 1.493 GB, free: 5.941 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/0.599, allocations: 191.8 kB / 1.493 GB, free: 5.754 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.5996, allocations: 291 kB / 1.494 GB, free: 5.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6008, allocations: 406.3 kB / 1.494 GB, free: 5.004 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6008, allocations: 4 kB / 1.494 GB, free: 5 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002892/0.6037, allocations: 0.7178 MB / 1.495 GB, free: 4.273 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.6037, allocations: 9.719 kB / 1.495 GB, free: 4.266 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6038, allocations: 0 / 1.495 GB, free: 4.266 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.6044, allocations: 192.7 kB / 1.495 GB, free: 4.074 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.6049, allocations: 67.89 kB / 1.495 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.609, allocations: 2.087 MB / 1.497 GB, free: 1.82 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.6097, allocations: 55.8 kB / 1.497 GB, free: 1.766 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.6097, allocations: 15.98 kB / 1.497 GB, free: 1.75 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.0002937/0.61, allocations: 194.2 kB / 1.497 GB, free: 1.551 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.6101, allocations: 39.77 kB / 1.497 GB, free: 1.512 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.6102, allocations: 43.2 kB / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6102, allocations: 0 / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6102, allocations: 3.938 kB / 1.497 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6102, allocations: 0 / 1.497 GB, free: 1.465 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.6134, allocations: 0.9998 MB / 1.498 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6134, allocations: 0 / 1.498 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.6137, allocations: 44.02 kB / 1.498 GB, free: 384 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.6143, allocations: 172.7 kB / 1.499 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.6143, allocations: 4.094 kB / 1.499 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003884/0.6182, allocations: 2.053 MB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6182, allocations: 0 / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.6209, allocations: 0.6891 MB / 1.501 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.6211, allocations: 79.69 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.6212, allocations: 4 kB / 1.501 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006021/0.6218, allocations: 49.98 kB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.6219, allocations: 15.91 kB / 1.501 GB, free: 13.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.6219, allocations: 15.98 kB / 1.501 GB, free: 13.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000354/0.6223, allocations: 287.1 kB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6223, allocations: 0 / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006795/0.623, allocations: 195.5 kB / 1.502 GB, free: 12.7 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.0003002/0.6233, allocations: 155.3 kB / 1.502 GB, free: 12.54 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.6249, allocations: 0.5157 MB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6249, allocations: 4.312 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.6257, allocations: 298.6 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.6267, allocations: 209.7 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.63, allocations: 1.048 MB / 1.504 GB, free: 10.42 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.6303, allocations: 260 kB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.6306, allocations: 87.22 kB / 1.504 GB, free: 10.05 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.6307, allocations: 31.44 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of SimCode: time 6.52e-07/0.6307, allocations: 0 / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of Templates: time 0.01851/0.6492, allocations: 10.55 MB / 1.515 GB, free: 15.67 MB / 1.217 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 -s gbode -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: 8.877243850001832]