Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.5 MB / 257 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001678/0.001678, allocations: 180.8 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009931/0.0009932, allocations: 93.05 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.716e-05, allocations: 4 kB / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2313, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.199/7.43, allocations: 2.189 GB / 3.075 GB, free: 176 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/7.43, allocations: 91.3 kB / 3.075 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/8.902, allocations: 375.4 MB / 3.441 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.414e-06/8.902, allocations: 0 / 3.441 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.574e-05/8.902, allocations: 19.98 kB / 3.441 GB, free: 148.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002134/8.904, allocations: 0.8806 MB / 3.442 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/8.904, allocations: 12.03 kB / 3.442 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/8.906, allocations: 247 kB / 3.443 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000925/8.907, allocations: 496.3 kB / 3.443 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/8.907, allocations: 85.25 kB / 3.443 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/8.907, allocations: 24 kB / 3.443 GB, free: 147 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007115/8.908, allocations: 386.5 kB / 3.443 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/8.909, allocations: 0.4974 MB / 3.444 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/8.909, allocations: 0 / 3.444 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/8.909, allocations: 0 / 3.444 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/8.909, allocations: 25.23 kB / 3.444 GB, free: 146.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.003309/8.912, allocations: 2.036 MB / 3.446 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/8.912, allocations: 146.5 kB / 3.446 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/8.913, allocations: 85.05 kB / 3.446 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/8.913, allocations: 7.922 kB / 3.446 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/8.913, allocations: 42.52 kB / 3.446 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.914e-06/8.913, allocations: 0 / 3.446 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.00162/8.914, allocations: 413.8 kB / 3.447 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/8.914, allocations: 81.11 kB / 3.447 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/8.915, allocations: 349.2 kB / 3.447 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/8.915, allocations: 25.7 kB / 3.447 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/8.915, allocations: 315.2 kB / 3.447 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/8.915, allocations: 43.39 kB / 3.447 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/8.915, allocations: 0 / 3.447 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/8.915, allocations: 350.8 kB / 3.448 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/8.915, allocations: 99.97 kB / 3.448 GB, free: 142 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/8.916, allocations: 199.9 kB / 3.448 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/8.916, allocations: 115.2 kB / 3.448 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/8.916, allocations: 8.031 kB / 3.448 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001551/8.917, allocations: 0.5329 MB / 3.449 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/8.918, allocations: 4 kB / 3.449 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/8.918, allocations: 4 kB / 3.449 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/8.918, allocations: 132.8 kB / 3.449 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/8.918, allocations: 83.88 kB / 3.449 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/8.92, allocations: 1.732 MB / 3.451 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/8.921, allocations: 67.77 kB / 3.451 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/8.921, allocations: 15.98 kB / 3.451 GB, free: 138.9 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/8.921, allocations: 121.5 kB / 3.451 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/8.921, allocations: 39.53 kB / 3.451 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/8.921, allocations: 39.34 kB / 3.451 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/8.921, allocations: 7.953 kB / 3.451 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/8.921, allocations: 0 / 3.451 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/8.921, allocations: 7.969 kB / 3.451 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/8.923, allocations: 0.8837 MB / 3.452 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/8.923, allocations: 3.984 kB / 3.452 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/8.924, allocations: 44.03 kB / 3.452 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002816/8.924, allocations: 128.9 kB / 3.452 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/8.924, allocations: 8 kB / 3.452 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/8.926, allocations: 1.721 MB / 3.454 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/8.926, allocations: 4.031 kB / 3.454 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/8.927, allocations: 0.5475 MB / 3.454 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/8.927, allocations: 160.6 kB / 3.454 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/8.927, allocations: 0 / 3.454 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005338/8.928, allocations: 67.88 kB / 3.454 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/8.928, allocations: 11.97 kB / 3.454 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/8.928, allocations: 19.92 kB / 3.454 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002734/8.928, allocations: 271 kB / 3.455 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/8.928, allocations: 0 / 3.455 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001058/8.929, allocations: 243.5 kB / 3.455 GB, free: 134.4 MB / 0.8698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/8.931, allocations: 1.126 MB / 3.456 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006421/8.932, allocations: 354 kB / 3.456 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/8.932, allocations: 0 / 3.456 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002351/8.932, allocations: 209.6 kB / 3.457 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/8.933, allocations: 178.4 kB / 3.457 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/8.935, allocations: 0.6976 MB / 3.457 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/8.936, allocations: 0.8737 MB / 3.458 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003754/8.936, allocations: 87.23 kB / 3.458 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/8.936, allocations: 35.36 kB / 3.458 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/8.936, allocations: 0 / 3.458 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.01961/8.956, allocations: 13.9 MB / 3.472 GB, free: 116.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches