Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.359/2.359, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.00135/0.00135, allocations: 183.9 kB / 0.4902 GB, free: 2.289 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.622/1.622, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001015/0.001015, allocations: 102.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 10.38 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3144, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.325/5.64, allocations: 1.981 GB / 3.21 GB, free: 337.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/5.64, allocations: 94.56 kB / 3.21 GB, free: 337.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 8.071/13.71, allocations: 2.073 GB / 5.283 GB, free: 136.5 MB / 1.214 GB Notification: Performance of FrontEnd: time 3.466e-06/13.71, allocations: 3.984 kB / 5.283 GB, free: 136.5 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.0005857/13.71, allocations: 103.2 kB / 5.283 GB, free: 136.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.01736/13.73, allocations: 3.969 MB / 5.287 GB, free: 134.1 MB / 1.214 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/13.73, allocations: 12.34 kB / 5.287 GB, free: 134.1 MB / 1.214 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/13.74, allocations: 0.9273 MB / 5.288 GB, free: 133.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/13.75, allocations: 2.918 MB / 5.291 GB, free: 132.5 MB / 1.214 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/13.75, allocations: 273.3 kB / 5.291 GB, free: 132.4 MB / 1.214 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/13.75, allocations: 296.7 kB / 5.292 GB, free: 132.4 MB / 1.214 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/13.76, allocations: 3.21 MB / 5.295 GB, free: 131.5 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/13.76, allocations: 3.953 kB / 5.295 GB, free: 131.5 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/13.76, allocations: 119.4 kB / 5.295 GB, free: 131.5 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000139/13.76, allocations: 103 kB / 5.295 GB, free: 131.5 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006425/13.77, allocations: 2.648 MB / 5.297 GB, free: 130.8 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.01864/13.79, allocations: 13.22 MB / 5.31 GB, free: 117.8 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/13.79, allocations: 1.652 MB / 5.312 GB, free: 116.2 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/13.79, allocations: 338.5 kB / 5.312 GB, free: 115.8 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/13.79, allocations: 56.56 kB / 5.312 GB, free: 115.7 MB / 1.214 GB Notification: Performance of pre-optimization done (n=182): time 5.129e-06/13.79, allocations: 4 kB / 5.312 GB, free: 115.7 MB / 1.214 GB Notification: Performance of matching and sorting (n=182): time 0.005094/13.8, allocations: 2.695 MB / 5.315 GB, free: 113 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/13.8, allocations: 76.94 kB / 5.315 GB, free: 113 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/13.8, allocations: 1.712 MB / 5.317 GB, free: 111.2 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.0003167/13.8, allocations: 65.7 kB / 5.317 GB, free: 111.2 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009655/13.8, allocations: 1.418 MB / 5.318 GB, free: 109.7 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/13.8, allocations: 0.6352 MB / 5.319 GB, free: 109.1 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/13.8, allocations: 40 kB / 5.319 GB, free: 109.1 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0001388/13.8, allocations: 389.8 kB / 5.319 GB, free: 108.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/13.8, allocations: 0.7842 MB / 5.32 GB, free: 107.9 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/13.81, allocations: 1.436 MB / 5.321 GB, free: 106.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/13.81, allocations: 1.042 MB / 5.322 GB, free: 105.2 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/13.81, allocations: 4 kB / 5.322 GB, free: 105.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004053/13.81, allocations: 2.462 MB / 5.325 GB, free: 102.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.002227/13.81, allocations: 5.52 MB / 5.33 GB, free: 96.72 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/13.81, allocations: 16 kB / 5.33 GB, free: 96.71 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.398e-05/13.81, allocations: 30.36 kB / 5.33 GB, free: 96.68 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/13.82, allocations: 0.5043 MB / 5.331 GB, free: 96.18 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/13.82, allocations: 4.163 MB / 5.335 GB, free: 91.87 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005058/13.82, allocations: 412.8 kB / 5.335 GB, free: 91.48 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/13.82, allocations: 87.98 kB / 5.335 GB, free: 91.4 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/13.82, allocations: 4 kB / 5.335 GB, free: 91.39 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003481/13.83, allocations: 2.194 MB / 5.337 GB, free: 89.21 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/13.83, allocations: 12 kB / 5.337 GB, free: 89.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/13.83, allocations: 24 kB / 5.337 GB, free: 89.18 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/13.83, allocations: 481.8 kB / 5.338 GB, free: 88.71 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/13.83, allocations: 27.92 kB / 5.338 GB, free: 88.68 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/13.83, allocations: 386.9 kB / 5.338 GB, free: 88.32 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/13.83, allocations: 83.95 kB / 5.338 GB, free: 88.24 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.002287/13.84, allocations: 0.8672 MB / 5.339 GB, free: 87.36 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/13.84, allocations: 275.8 kB / 5.339 GB, free: 87.09 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003021/13.84, allocations: 2.087 MB / 5.342 GB, free: 85 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/13.84, allocations: 16 kB / 5.342 GB, free: 84.98 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/13.84, allocations: 4 kB / 5.342 GB, free: 84.98 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002117/13.84, allocations: 1.871 MB / 5.343 GB, free: 83.05 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008608/13.85, allocations: 5.149 MB / 5.348 GB, free: 77.86 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/13.85, allocations: 4 kB / 5.348 GB, free: 77.86 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/13.85, allocations: 0.5014 MB / 5.349 GB, free: 77.37 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/13.85, allocations: 12 kB / 5.349 GB, free: 77.36 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/13.85, allocations: 51.97 kB / 5.349 GB, free: 77.31 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/13.85, allocations: 4.123 MB / 5.353 GB, free: 73.03 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/13.85, allocations: 7.953 kB / 5.353 GB, free: 73.02 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004351/13.86, allocations: 3.413 MB / 5.356 GB, free: 69.48 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/13.86, allocations: 0.564 MB / 5.357 GB, free: 68.89 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/13.86, allocations: 51.94 kB / 5.357 GB, free: 68.84 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/13.86, allocations: 251.3 kB / 5.357 GB, free: 68.59 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/13.86, allocations: 113.8 kB / 5.357 GB, free: 68.48 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/13.86, allocations: 71.97 kB / 5.357 GB, free: 68.41 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.001904/13.86, allocations: 1.31 MB / 5.359 GB, free: 67.09 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.2e-07/13.86, allocations: 0 / 5.359 GB, free: 67.09 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.00654/13.87, allocations: 2.14 MB / 5.361 GB, free: 64.95 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.006898/13.88, allocations: 4.763 MB / 5.365 GB, free: 60.18 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.005373/13.88, allocations: 3.204 MB / 5.368 GB, free: 56.98 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/13.88, allocations: 4 kB / 5.368 GB, free: 56.98 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.001426/13.88, allocations: 1.011 MB / 5.369 GB, free: 55.98 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008012/13.89, allocations: 1.566 MB / 5.371 GB, free: 54.46 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/13.9, allocations: 7.859 MB / 5.379 GB, free: 46.63 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001584/13.91, allocations: 2.252 MB / 5.381 GB, free: 44.35 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.004203/13.91, allocations: 1.099 MB / 5.382 GB, free: 43.28 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/13.91, allocations: 215.4 kB / 5.382 GB, free: 43.07 MB / 1.214 GB Notification: Performance of SimCode: time 1.432e-06/13.91, allocations: 0 / 5.382 GB, free: 43.07 MB / 1.214 GB Notification: Performance of Templates: time 0.9517/14.86, allocations: 97.74 MB / 5.478 GB, free: 173.1 MB / 1.245 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches