Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.017/2.017, allocations: 387.4 MB / 394.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 192.6 kB / 487.4 MB, free: 5.055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009689, allocations: 99.77 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.246, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.892/5.138, allocations: 1.979 GB / 3.185 GB, free: 314.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/5.138, allocations: 87.7 kB / 3.185 GB, free: 314.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.433/11.57, allocations: 2.049 GB / 5.235 GB, free: 35.79 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.015e-06/11.57, allocations: 7.062 kB / 5.235 GB, free: 35.79 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003742/11.57, allocations: 95.91 kB / 5.235 GB, free: 35.69 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.008848/11.58, allocations: 3.483 MB / 5.238 GB, free: 32.15 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/11.58, allocations: 8.031 kB / 5.238 GB, free: 32.14 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/11.59, allocations: 0.9283 MB / 5.239 GB, free: 31.21 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/11.59, allocations: 2.877 MB / 5.242 GB, free: 28.26 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/11.59, allocations: 180.8 kB / 5.242 GB, free: 28.07 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008423/11.59, allocations: 176 kB / 5.242 GB, free: 27.89 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004589/11.6, allocations: 2.439 MB / 5.245 GB, free: 25.45 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005297/11.6, allocations: 2.755 MB / 5.247 GB, free: 22.61 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-05/11.6, allocations: 7.906 kB / 5.247 GB, free: 22.61 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003655/11.6, allocations: 4 kB / 5.247 GB, free: 22.6 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/11.6, allocations: 109.3 kB / 5.247 GB, free: 22.49 MB / 1.198 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.01205/11.62, allocations: 12.7 MB / 5.26 GB, free: 8.641 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/11.62, allocations: 1.579 MB / 5.261 GB, free: 7.051 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/11.62, allocations: 1.008 MB / 5.262 GB, free: 6.047 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000387/11.62, allocations: 338.7 kB / 5.263 GB, free: 5.66 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/11.62, allocations: 52.56 kB / 5.263 GB, free: 5.602 MB / 1.198 GB Notification: Performance of pre-optimization done (n=182): time 3.947e-06/11.62, allocations: 0 / 5.263 GB, free: 5.602 MB / 1.198 GB Notification: Performance of matching and sorting (n=182): time 0.003333/11.62, allocations: 1.866 MB / 5.264 GB, free: 3.723 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/11.62, allocations: 73.41 kB / 5.265 GB, free: 3.637 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/11.62, allocations: 1.433 MB / 5.266 GB, free: 2.184 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/11.62, allocations: 29.7 kB / 5.266 GB, free: 2.148 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/11.63, allocations: 1.406 MB / 5.267 GB, free: 0.7188 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/11.63, allocations: 0.6197 MB / 5.268 GB, free: 92 kB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/11.63, allocations: 4 kB / 5.268 GB, free: 88 kB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001602/11.63, allocations: 381.9 kB / 5.268 GB, free: 15.71 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/11.63, allocations: 0.7302 MB / 5.269 GB, free: 14.97 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/11.63, allocations: 1.359 MB / 5.27 GB, free: 13.34 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/11.63, allocations: 0.988 MB / 5.271 GB, free: 12.35 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.629e-05/11.63, allocations: 4 kB / 5.271 GB, free: 12.35 MB / 1.214 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00358/11.63, allocations: 2.233 MB / 5.274 GB, free: 10.11 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001964/11.64, allocations: 5.488 MB / 5.279 GB, free: 4.07 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/11.64, allocations: 16 kB / 5.279 GB, free: 4.055 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/11.64, allocations: 24 kB / 5.279 GB, free: 4.031 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/11.64, allocations: 0.5144 MB / 5.279 GB, free: 3.52 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6453/12.28, allocations: 4.17 MB / 5.283 GB, free: 141.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/12.29, allocations: 347.1 kB / 5.284 GB, free: 141.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/12.29, allocations: 90.38 kB / 5.284 GB, free: 141.5 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/12.29, allocations: 5.531 kB / 5.284 GB, free: 141.5 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/12.29, allocations: 1.927 MB / 5.286 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/12.29, allocations: 13.34 kB / 5.286 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/12.29, allocations: 26.3 kB / 5.286 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/12.29, allocations: 475.5 kB / 5.286 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-05/12.29, allocations: 31.2 kB / 5.286 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/12.29, allocations: 324.5 kB / 5.287 GB, free: 141.4 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/12.29, allocations: 87.56 kB / 5.287 GB, free: 141.4 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004177/12.3, allocations: 165.4 kB / 5.287 GB, free: 141.3 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/12.3, allocations: 260.4 kB / 5.287 GB, free: 141.3 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/12.3, allocations: 1.904 MB / 5.289 GB, free: 141.2 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/12.3, allocations: 14.66 kB / 5.289 GB, free: 141.2 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/12.3, allocations: 4.922 kB / 5.289 GB, free: 141.2 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002088/12.3, allocations: 1.732 MB / 5.291 GB, free: 140.9 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007279/12.31, allocations: 4.671 MB / 5.295 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/12.31, allocations: 2.969 kB / 5.295 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002271/12.31, allocations: 0.4941 MB / 5.296 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/12.31, allocations: 9.656 kB / 5.296 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/12.31, allocations: 30.88 kB / 5.296 GB, free: 140.5 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/12.31, allocations: 4.13 MB / 5.3 GB, free: 136.4 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/12.31, allocations: 4.125 kB / 5.3 GB, free: 136.4 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/12.32, allocations: 3.21 MB / 5.303 GB, free: 135.7 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/12.32, allocations: 0.5552 MB / 5.303 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/12.32, allocations: 17.69 kB / 5.304 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002133/12.32, allocations: 220.2 kB / 5.304 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/12.32, allocations: 116.9 kB / 5.304 GB, free: 135.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/12.32, allocations: 73.09 kB / 5.304 GB, free: 135.5 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001725/12.32, allocations: 1.061 MB / 5.305 GB, free: 135.3 MB / 1.214 GB Notification: Performance of sort global known variables: time 2.71e-07/12.32, allocations: 0 / 5.305 GB, free: 135.3 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.004836/12.33, allocations: 1.924 MB / 5.307 GB, free: 135.2 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006581/12.33, allocations: 5.194 MB / 5.312 GB, free: 133 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.004993/12.34, allocations: 3.071 MB / 5.315 GB, free: 132.9 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/12.34, allocations: 5.719 kB / 5.315 GB, free: 132.9 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/12.34, allocations: 0.9382 MB / 5.316 GB, free: 132.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008221/12.35, allocations: 1.446 MB / 5.317 GB, free: 132.9 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009582/12.36, allocations: 5.455 MB / 5.323 GB, free: 131.6 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/12.36, allocations: 2.257 MB / 5.325 GB, free: 130.8 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005006/12.36, allocations: 1.263 MB / 5.326 GB, free: 130.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/12.37, allocations: 172.9 kB / 5.326 GB, free: 130.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.293e-06/12.37, allocations: 4.875 kB / 5.326 GB, free: 130.8 MB / 1.214 GB Notification: Performance of Templates: time 0.1039/12.47, allocations: 73.23 MB / 5.398 GB, free: 128.1 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches