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.001835/0.001835, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002035/0.002035, allocations: 216.7 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.722/2.722, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 177] 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.002107/0.002107, allocations: 72.94 kB / 1.118 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.364, allocations: 169.9 MB / 1.284 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2052/0.5692, allocations: 150.9 MB / 1.431 GB, free: 12.27 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.5775, allocations: 4.017 MB / 1.435 GB, free: 8.238 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.5784, allocations: 31.75 kB / 1.435 GB, free: 8.207 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.5797, allocations: 326.1 kB / 1.435 GB, free: 7.887 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5829, allocations: 1.054 MB / 1.436 GB, free: 6.828 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.5854, allocations: 0.8205 MB / 1.437 GB, free: 6.012 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002142/0.5876, allocations: 1.306 MB / 1.438 GB, free: 4.703 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.5883, allocations: 379.9 kB / 1.439 GB, free: 4.328 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.5899, allocations: 0.7161 MB / 1.44 GB, free: 3.609 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.5912, allocations: 462 kB / 1.44 GB, free: 3.16 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.5913, allocations: 52 kB / 1.44 GB, free: 3.109 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.593, allocations: 0.7482 MB / 1.441 GB, free: 2.359 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.5932, allocations: 219.3 kB / 1.441 GB, free: 2.145 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003715/0.5936, allocations: 278.8 kB / 1.441 GB, free: 1.871 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.5954, allocations: 1.121 MB / 1.442 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5954, allocations: 0 / 1.442 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5954, allocations: 0 / 1.442 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.5955, allocations: 0 / 1.442 GB, free: 0.7461 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.001836/0.5973, allocations: 0.8952 MB / 1.443 GB, free: 15.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.5973, allocations: 8.031 kB / 1.443 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.599, allocations: 271.3 kB / 1.443 GB, free: 15.54 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.6, allocations: 430.6 kB / 1.444 GB, free: 15.1 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.6, allocations: 36.94 kB / 1.444 GB, free: 15.06 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/0.6001, allocations: 40 kB / 1.444 GB, free: 15.02 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.6016, allocations: 0.8868 MB / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.6017, allocations: 0 / 1.445 GB, free: 14.05 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.6017, allocations: 35.91 kB / 1.445 GB, free: 14.01 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.6018, allocations: 21 kB / 1.445 GB, free: 13.99 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.6032, allocations: 0.5386 MB / 1.445 GB, free: 13.45 MB / 1.154 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.004066/0.6073, allocations: 1.803 MB / 1.447 GB, free: 11.59 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009611/0.6083, allocations: 266.3 kB / 1.447 GB, free: 11.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.6088, allocations: 164.7 kB / 1.448 GB, free: 11.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.6089, allocations: 4 kB / 1.448 GB, free: 11.15 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6089, allocations: 42.5 kB / 1.448 GB, free: 11.1 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 2.575e-06/0.6089, allocations: 0 / 1.448 GB, free: 11.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005171/0.6141, allocations: 1.001 MB / 1.449 GB, free: 10.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.6141, allocations: 81.11 kB / 1.449 GB, free: 9.992 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.6148, allocations: 429.7 kB / 1.449 GB, free: 9.559 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.6148, allocations: 29.7 kB / 1.449 GB, free: 9.523 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.6151, allocations: 319.6 kB / 1.449 GB, free: 9.207 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.6152, allocations: 39.69 kB / 1.449 GB, free: 9.168 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.6153, allocations: 65.59 kB / 1.45 GB, free: 9.098 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.6155, allocations: 354.7 kB / 1.45 GB, free: 8.742 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.6161, allocations: 191.8 kB / 1.45 GB, free: 8.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.6168, allocations: 296.2 kB / 1.45 GB, free: 8.227 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.618, allocations: 404.2 kB / 1.451 GB, free: 7.801 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.618, allocations: 0 / 1.451 GB, free: 7.801 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002732/0.6207, allocations: 0.7195 MB / 1.451 GB, free: 7.074 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.6207, allocations: 4 kB / 1.451 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6207, allocations: 4 kB / 1.451 GB, free: 7.066 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006924/0.6214, allocations: 192.7 kB / 1.452 GB, free: 6.875 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.6218, allocations: 67.89 kB / 1.452 GB, free: 6.809 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.6261, allocations: 2.089 MB / 1.454 GB, free: 4.625 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.6267, allocations: 59.78 kB / 1.454 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.6267, allocations: 8 kB / 1.454 GB, free: 4.559 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.0003375/0.627, allocations: 197.7 kB / 1.454 GB, free: 4.355 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.6271, allocations: 39.77 kB / 1.454 GB, free: 4.316 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.6272, allocations: 43.2 kB / 1.454 GB, free: 4.273 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.6272, allocations: 4 kB / 1.454 GB, free: 4.27 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6273, allocations: 3.938 kB / 1.454 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6273, allocations: 0 / 1.454 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6303, allocations: 0.992 MB / 1.455 GB, free: 3.227 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6304, allocations: 0 / 1.455 GB, free: 3.227 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.6306, allocations: 43.95 kB / 1.455 GB, free: 3.184 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005709/0.6312, allocations: 180.7 kB / 1.455 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.6312, allocations: 4 kB / 1.455 GB, free: 3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003882/0.6351, allocations: 2.037 MB / 1.457 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6351, allocations: 0 / 1.457 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.6377, allocations: 0.6926 MB / 1.458 GB, free: 136 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.638, allocations: 79.81 kB / 1.458 GB, free: 56 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.638, allocations: 3.938 kB / 1.458 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.6386, allocations: 51.92 kB / 1.458 GB, free: 0 / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.6387, allocations: 16.05 kB / 1.458 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.6387, allocations: 15.98 kB / 1.458 GB, free: 15.96 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003737/0.6391, allocations: 291.1 kB / 1.458 GB, free: 15.69 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6391, allocations: 4 kB / 1.458 GB, free: 15.68 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007061/0.6398, allocations: 195.5 kB / 1.459 GB, free: 15.49 MB / 1.17 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.000337/0.6402, allocations: 155 kB / 1.459 GB, free: 15.34 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.6419, allocations: 0.514 MB / 1.459 GB, free: 14.81 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6419, allocations: 4.312 kB / 1.459 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007719/0.6426, allocations: 298.6 kB / 1.459 GB, free: 14.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6437, allocations: 198.3 kB / 1.46 GB, free: 14.31 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.647, allocations: 1.094 MB / 1.461 GB, free: 13.18 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.6474, allocations: 263.9 kB / 1.461 GB, free: 12.89 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.6475, allocations: 35.44 kB / 1.461 GB, free: 12.86 MB / 1.17 GB Notification: Performance of SimCode: time 9.51e-07/0.6475, allocations: 0 / 1.461 GB, free: 12.86 MB / 1.17 GB Notification: Performance of Templates: time 0.01611/0.6636, allocations: 9.959 MB / 1.471 GB, free: 2.957 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/jenkins1/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: 12.90115116816014]