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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.88 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.114/1.116, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.2339/1.35, allocations: 171.8 MB / 1.44 GB, free: 7.281 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007923/1.358, allocations: 4.313 MB / 1.444 GB, free: 3.797 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009856/1.359, allocations: 22.84 kB / 1.444 GB, free: 3.789 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/1.361, allocations: 368.1 kB / 1.444 GB, free: 3.5 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00309/1.364, allocations: 1.034 MB / 1.445 GB, free: 2.703 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/1.366, allocations: 0.8314 MB / 1.446 GB, free: 2.086 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002092/1.368, allocations: 1.303 MB / 1.447 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006181/1.369, allocations: 379 kB / 1.448 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/1.37, allocations: 0.7006 MB / 1.448 GB, free: 15.89 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/1.372, allocations: 476.1 kB / 1.449 GB, free: 15.43 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-05/1.372, allocations: 55.94 kB / 1.449 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/1.374, allocations: 0.951 MB / 1.45 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/1.374, allocations: 219.3 kB / 1.45 GB, free: 14.2 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/1.374, allocations: 330.5 kB / 1.45 GB, free: 13.88 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/1.376, allocations: 1.137 MB / 1.451 GB, free: 12.74 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.376, allocations: 0 / 1.451 GB, free: 12.74 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.212e-06/1.376, allocations: 0 / 1.451 GB, free: 12.74 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.968e-06/1.376, allocations: 4 kB / 1.451 GB, free: 12.73 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.001924/1.378, allocations: 0.9705 MB / 1.452 GB, free: 11.71 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.378, allocations: 8.031 kB / 1.452 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/1.38, allocations: 267.3 kB / 1.453 GB, free: 11.45 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/1.38, allocations: 0.4978 MB / 1.453 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/1.381, allocations: 29 kB / 1.453 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/1.381, allocations: 44 kB / 1.453 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/1.382, allocations: 0.6107 MB / 1.454 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/1.382, allocations: 4 kB / 1.454 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/1.382, allocations: 16 kB / 1.454 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.54e-05/1.382, allocations: 17 kB / 1.454 GB, free: 10.16 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/1.384, allocations: 0.5503 MB / 1.454 GB, free: 9.617 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.004216/1.388, allocations: 2.273 MB / 1.457 GB, free: 7.211 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/1.389, allocations: 274.3 kB / 1.457 GB, free: 6.934 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/1.389, allocations: 168.9 kB / 1.457 GB, free: 6.766 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/1.389, allocations: 3.938 kB / 1.457 GB, free: 6.762 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.389, allocations: 38.56 kB / 1.457 GB, free: 6.715 MB / 1.139 GB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/1.389, allocations: 0 / 1.457 GB, free: 6.715 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.005272/1.395, allocations: 1.088 MB / 1.458 GB, free: 5.598 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/1.395, allocations: 81.05 kB / 1.458 GB, free: 5.5 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/1.395, allocations: 0.5535 MB / 1.459 GB, free: 4.938 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/1.395, allocations: 33.7 kB / 1.459 GB, free: 4.898 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/1.396, allocations: 304 kB / 1.459 GB, free: 4.598 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/1.396, allocations: 43.67 kB / 1.459 GB, free: 4.555 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.396, allocations: 65.64 kB / 1.459 GB, free: 4.484 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.396, allocations: 358.7 kB / 1.46 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/1.397, allocations: 187.8 kB / 1.46 GB, free: 3.941 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/1.397, allocations: 270.3 kB / 1.46 GB, free: 3.645 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.399, allocations: 406.1 kB / 1.46 GB, free: 3.219 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.399, allocations: 0 / 1.46 GB, free: 3.219 MB / 1.139 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002695/1.401, allocations: 0.7297 MB / 1.461 GB, free: 2.48 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/1.401, allocations: 8 kB / 1.461 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.401, allocations: 0 / 1.461 GB, free: 2.473 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/1.402, allocations: 184.8 kB / 1.461 GB, free: 2.289 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/1.402, allocations: 79.88 kB / 1.461 GB, free: 2.211 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004141/1.406, allocations: 2.226 MB / 1.464 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/1.407, allocations: 75.58 kB / 1.464 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.407, allocations: 12 kB / 1.464 GB, free: 15.77 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.0002988/1.407, allocations: 189.8 kB / 1.464 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/1.407, allocations: 51.67 kB / 1.464 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/1.408, allocations: 55.95 kB / 1.464 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.408, allocations: 4 kB / 1.464 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/1.408, allocations: 0 / 1.464 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.408, allocations: 8.172 kB / 1.464 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/1.411, allocations: 1.137 MB / 1.465 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.411, allocations: 0 / 1.465 GB, free: 14.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/1.411, allocations: 35.95 kB / 1.465 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/1.411, allocations: 176.8 kB / 1.465 GB, free: 14.04 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/1.411, allocations: 12.02 kB / 1.465 GB, free: 14.02 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/1.415, allocations: 2.191 MB / 1.467 GB, free: 11.69 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.415, allocations: 0 / 1.467 GB, free: 11.69 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/1.418, allocations: 0.7009 MB / 1.468 GB, free: 10.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/1.418, allocations: 172.9 kB / 1.468 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/1.418, allocations: 4 kB / 1.468 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/1.419, allocations: 57.3 kB / 1.468 GB, free: 10.72 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/1.419, allocations: 11.92 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.923e-05/1.419, allocations: 15.98 kB / 1.468 GB, free: 10.69 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005928/1.42, allocations: 394.8 kB / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.42, allocations: 0 / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007904/1.421, allocations: 179.8 kB / 1.469 GB, free: 10.13 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.0006389/1.421, allocations: 186.5 kB / 1.469 GB, free: 9.953 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001753/1.423, allocations: 0.5163 MB / 1.47 GB, free: 9.426 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.423, allocations: 0 / 1.47 GB, free: 9.426 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/1.424, allocations: 290.7 kB / 1.47 GB, free: 9.129 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/1.425, allocations: 297.9 kB / 1.47 GB, free: 8.84 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/1.428, allocations: 1.094 MB / 1.471 GB, free: 7.703 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/1.429, allocations: 0.8621 MB / 1.472 GB, free: 6.812 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003805/1.429, allocations: 100.5 kB / 1.472 GB, free: 6.715 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/1.429, allocations: 39.42 kB / 1.472 GB, free: 6.676 MB / 1.154 GB Notification: Performance of SimCode: time 1.002e-06/1.429, allocations: 4 kB / 1.472 GB, free: 6.672 MB / 1.154 GB Notification: Performance of Templates: time 0.02568/1.455, allocations: 12.64 MB / 1.484 GB, free: 10.2 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.917557320557535]