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.001302/0.001302, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001487/0.001487, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.743/2.743, allocations: 476.7 MB / 0.7714 GB, free: 4.289 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.001996/0.001996, allocations: 66.56 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3246, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2081/0.5327, allocations: 174.7 MB / 1.455 GB, free: 11.89 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007383/0.5401, allocations: 4.313 MB / 1.459 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008148/0.5409, allocations: 31.75 kB / 1.459 GB, free: 7.535 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.5421, allocations: 366 kB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/0.5448, allocations: 1.054 MB / 1.461 GB, free: 6.117 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.5473, allocations: 0.8383 MB / 1.462 GB, free: 5.285 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002101/0.5494, allocations: 1.329 MB / 1.463 GB, free: 3.953 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000664/0.55, allocations: 376 kB / 1.463 GB, free: 3.582 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.5516, allocations: 0.7161 MB / 1.464 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.5528, allocations: 484.6 kB / 1.464 GB, free: 2.391 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5529, allocations: 52 kB / 1.464 GB, free: 2.34 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.5548, allocations: 0.9588 MB / 1.465 GB, free: 1.379 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.5551, allocations: 211.3 kB / 1.466 GB, free: 1.172 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.5555, allocations: 330.5 kB / 1.466 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.5576, allocations: 1.145 MB / 1.467 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5576, allocations: 4 kB / 1.467 GB, free: 15.69 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5576, allocations: 0 / 1.467 GB, free: 15.69 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.5576, allocations: 0 / 1.467 GB, free: 15.69 MB / 1.17 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.001875/0.5595, allocations: 0.8994 MB / 1.468 GB, free: 14.76 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5595, allocations: 8.031 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.5612, allocations: 263.3 kB / 1.468 GB, free: 14.49 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5622, allocations: 434.6 kB / 1.469 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.627e-05/0.5622, allocations: 33 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.5623, allocations: 39.94 kB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.5636, allocations: 0.6146 MB / 1.469 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.5636, allocations: 0 / 1.469 GB, free: 13.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/0.5637, allocations: 24 kB / 1.469 GB, free: 13.32 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.5637, allocations: 20.94 kB / 1.469 GB, free: 13.3 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.5651, allocations: 0.5503 MB / 1.47 GB, free: 12.74 MB / 1.17 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.004335/0.5695, allocations: 2.229 MB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5705, allocations: 270.3 kB / 1.472 GB, free: 10.12 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.5711, allocations: 164.7 kB / 1.472 GB, free: 9.957 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.5711, allocations: 11.92 kB / 1.472 GB, free: 9.945 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5712, allocations: 30.56 kB / 1.472 GB, free: 9.906 MB / 1.17 GB Notification: Performance of pre-optimization done (n=11): time 1.753e-06/0.5712, allocations: 0 / 1.472 GB, free: 9.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.005303/0.5765, allocations: 1.021 MB / 1.473 GB, free: 8.875 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.5766, allocations: 81.11 kB / 1.474 GB, free: 8.777 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.5775, allocations: 0.5534 MB / 1.474 GB, free: 8.215 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.5776, allocations: 33.7 kB / 1.474 GB, free: 8.176 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.5778, allocations: 304.1 kB / 1.474 GB, free: 7.875 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.5779, allocations: 43.62 kB / 1.474 GB, free: 7.832 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.578, allocations: 57.66 kB / 1.475 GB, free: 7.77 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.5783, allocations: 358.8 kB / 1.475 GB, free: 7.41 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.5789, allocations: 191.8 kB / 1.475 GB, free: 7.223 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.5795, allocations: 266.5 kB / 1.475 GB, free: 6.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5806, allocations: 402.5 kB / 1.476 GB, free: 6.508 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5806, allocations: 4 kB / 1.476 GB, free: 6.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002856/0.5835, allocations: 0.7344 MB / 1.476 GB, free: 5.762 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5835, allocations: 8 kB / 1.476 GB, free: 5.754 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.5835, allocations: 0 / 1.476 GB, free: 5.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.5842, allocations: 184.8 kB / 1.477 GB, free: 5.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.5846, allocations: 71.88 kB / 1.477 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/0.5888, allocations: 2.134 MB / 1.479 GB, free: 3.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.5894, allocations: 75.69 kB / 1.479 GB, free: 3.176 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5895, allocations: 8 kB / 1.479 GB, free: 3.168 MB / 1.17 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.0003087/0.5898, allocations: 199.4 kB / 1.479 GB, free: 2.965 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5899, allocations: 55.67 kB / 1.479 GB, free: 2.91 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.59, allocations: 47.98 kB / 1.479 GB, free: 2.863 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.59, allocations: 7.984 kB / 1.479 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.59, allocations: 0 / 1.479 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.59, allocations: 0 / 1.479 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.5933, allocations: 1.101 MB / 1.48 GB, free: 1.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.5933, allocations: 4.188 kB / 1.48 GB, free: 1.691 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.5935, allocations: 51.95 kB / 1.48 GB, free: 1.641 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.5941, allocations: 172.7 kB / 1.48 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.5941, allocations: 11.98 kB / 1.48 GB, free: 1.457 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/0.5981, allocations: 2.076 MB / 1.482 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5981, allocations: 0 / 1.482 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.6008, allocations: 0.7005 MB / 1.483 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.6011, allocations: 107.5 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.6012, allocations: 0 / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.6018, allocations: 56.06 kB / 1.483 GB, free: 14.38 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.6018, allocations: 11.97 kB / 1.483 GB, free: 14.37 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.6019, allocations: 19.98 kB / 1.483 GB, free: 14.35 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006245/0.6025, allocations: 394.8 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6025, allocations: 3.938 kB / 1.484 GB, free: 13.96 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006769/0.6032, allocations: 183.8 kB / 1.484 GB, free: 13.78 MB / 1.186 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.0004187/0.6036, allocations: 155.1 kB / 1.484 GB, free: 13.62 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.6053, allocations: 0.5105 MB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.6053, allocations: 8.062 kB / 1.485 GB, free: 13.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007442/0.606, allocations: 298.5 kB / 1.485 GB, free: 12.78 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.6075, allocations: 307.9 kB / 1.485 GB, free: 12.49 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.6109, allocations: 1.118 MB / 1.486 GB, free: 11.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.6115, allocations: 0.8658 MB / 1.487 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6116, allocations: 39.42 kB / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of SimCode: time 1.292e-06/0.6116, allocations: 0 / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of Templates: time 0.01841/0.63, allocations: 11.17 MB / 1.498 GB, free: 15.31 MB / 1.201 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: 13.79200439498527]