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.342/2.342, allocations: 390.3 MB / 405.3 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.001355/0.001355, allocations: 183 kB / 498.1 MB, free: 5.672 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.732/1.732, allocations: 223.2 MB / 0.7949 GB, free: 17.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.001051, allocations: 104.2 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004359, allocations: 10.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4025, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.9, allocations: 1.98 GB / 3.203 GB, free: 32.49 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/4.901, allocations: 98.69 kB / 3.203 GB, free: 32.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.401/13.3, allocations: 2.073 GB / 5.276 GB, free: 152.4 MB / 1.214 GB Notification: Performance of FrontEnd: time 4.659e-06/13.3, allocations: 0 / 5.276 GB, free: 152.4 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0006054/13.3, allocations: 93.94 kB / 5.276 GB, free: 152.4 MB / 1.214 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.0173/13.32, allocations: 3.981 MB / 5.28 GB, free: 150.6 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/13.32, allocations: 9.844 kB / 5.28 GB, free: 150.6 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008111/13.33, allocations: 0.9214 MB / 5.281 GB, free: 150.4 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/13.34, allocations: 2.91 MB / 5.284 GB, free: 149.8 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005325/13.34, allocations: 283 kB / 5.284 GB, free: 149.7 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/13.34, allocations: 296.6 kB / 5.284 GB, free: 149.7 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/13.36, allocations: 3.191 MB / 5.287 GB, free: 149.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/13.36, allocations: 12.94 kB / 5.288 GB, free: 149.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/13.36, allocations: 110.6 kB / 5.288 GB, free: 149.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/13.36, allocations: 100.9 kB / 5.288 GB, free: 149.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009167/13.37, allocations: 2.66 MB / 5.29 GB, free: 149.4 MB / 1.214 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.02936/13.4, allocations: 13.22 MB / 5.303 GB, free: 142.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/13.4, allocations: 1.661 MB / 5.305 GB, free: 142.1 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/13.4, allocations: 330.4 kB / 5.305 GB, free: 141.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.865e-05/13.4, allocations: 59.19 kB / 5.305 GB, free: 141.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=182): time 5.761e-06/13.4, allocations: 2.094 kB / 5.305 GB, free: 141.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=182): time 0.00707/13.41, allocations: 2.696 MB / 5.308 GB, free: 141.5 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/13.41, allocations: 72.81 kB / 5.308 GB, free: 141.5 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004528/13.41, allocations: 1.711 MB / 5.31 GB, free: 141.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0004915/13.41, allocations: 69.73 kB / 5.31 GB, free: 141.2 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/13.41, allocations: 1.409 MB / 5.311 GB, free: 140.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009944/13.41, allocations: 0.6451 MB / 5.312 GB, free: 140.3 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/13.42, allocations: 40.78 kB / 5.312 GB, free: 140.3 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0002279/13.42, allocations: 382 kB / 5.312 GB, free: 140 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/13.42, allocations: 0.7848 MB / 5.313 GB, free: 139.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/13.42, allocations: 1.436 MB / 5.314 GB, free: 139.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/13.42, allocations: 1.041 MB / 5.315 GB, free: 139.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/13.42, allocations: 3.594 kB / 5.315 GB, free: 139.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005047/13.43, allocations: 2.465 MB / 5.318 GB, free: 138.9 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.001552/13.43, allocations: 5.526 MB / 5.323 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/13.43, allocations: 12.22 kB / 5.323 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.636e-05/13.43, allocations: 25.09 kB / 5.323 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/13.43, allocations: 0.5079 MB / 5.324 GB, free: 133 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/13.43, allocations: 4.159 MB / 5.328 GB, free: 128.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/13.44, allocations: 407.8 kB / 5.328 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/13.44, allocations: 89.78 kB / 5.328 GB, free: 128.8 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/13.44, allocations: 7.25 kB / 5.328 GB, free: 128.8 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004301/13.44, allocations: 2.196 MB / 5.33 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/13.44, allocations: 11.38 kB / 5.33 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/13.44, allocations: 24.84 kB / 5.33 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/13.44, allocations: 471.6 kB / 5.331 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.181e-05/13.44, allocations: 33 kB / 5.331 GB, free: 128.6 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/13.45, allocations: 385 kB / 5.331 GB, free: 128.5 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003549/13.45, allocations: 89.69 kB / 5.331 GB, free: 128.5 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 () * Number of clocked 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.003006/13.45, allocations: 0.871 MB / 5.332 GB, free: 128.3 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/13.45, allocations: 274.5 kB / 5.332 GB, free: 128.2 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/13.46, allocations: 2.091 MB / 5.334 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/13.46, allocations: 18.31 kB / 5.334 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/13.46, allocations: 0 / 5.334 GB, free: 128 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002897/13.46, allocations: 1.875 MB / 5.336 GB, free: 127.5 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/13.47, allocations: 5.148 MB / 5.341 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/13.47, allocations: 3.844 kB / 5.341 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/13.48, allocations: 0.5009 MB / 5.342 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.559e-05/13.48, allocations: 12.34 kB / 5.342 GB, free: 125.3 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001915/13.48, allocations: 49.77 kB / 5.342 GB, free: 125.2 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/13.48, allocations: 4.133 MB / 5.346 GB, free: 121.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/13.48, allocations: 3.875 kB / 5.346 GB, free: 121.1 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/13.48, allocations: 3.415 MB / 5.349 GB, free: 119.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002621/13.49, allocations: 0.5684 MB / 5.35 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009608/13.49, allocations: 47.39 kB / 5.35 GB, free: 119 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003292/13.49, allocations: 249.9 kB / 5.35 GB, free: 118.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/13.49, allocations: 123 kB / 5.35 GB, free: 118.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002103/13.49, allocations: 68.02 kB / 5.35 GB, free: 118.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.003166/13.49, allocations: 1.315 MB / 5.351 GB, free: 118.4 MB / 1.214 GB Notification: Performance of sort global known variables: time 6.41e-07/13.49, allocations: 0 / 5.351 GB, free: 118.4 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.01004/13.5, allocations: 2.139 MB / 5.354 GB, free: 116.6 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 () * Number of clocked 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.01042/13.51, allocations: 4.76 MB / 5.358 GB, free: 112.8 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.008374/13.52, allocations: 3.202 MB / 5.361 GB, free: 110 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/13.52, allocations: 7.156 kB / 5.361 GB, free: 110 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/13.53, allocations: 1.003 MB / 5.362 GB, free: 109.2 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009662/13.53, allocations: 1.573 MB / 5.364 GB, free: 108.1 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/13.55, allocations: 7.863 MB / 5.372 GB, free: 100.8 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003455/13.56, allocations: 2.253 MB / 5.374 GB, free: 98.55 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.005467/13.56, allocations: 1.088 MB / 5.375 GB, free: 97.5 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/13.56, allocations: 227.4 kB / 5.375 GB, free: 97.27 MB / 1.214 GB Notification: Performance of SimCode: time 1.553e-06/13.56, allocations: 0 / 5.375 GB, free: 97.27 MB / 1.214 GB Notification: Performance of Templates: time 0.1486/13.71, allocations: 97.76 MB / 5.471 GB, free: 1.57 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