Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009471/0.0009471, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006412/0.006412, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.696/2.696, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003565, allocations: 11.98 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6755/0.6759, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.9707/1.647, allocations: 298.8 MB / 1.315 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03228/1.679, allocations: 25.73 MB / 1.34 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00478/1.684, allocations: 109.2 kB / 1.34 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004809/1.689, allocations: 1.54 MB / 1.342 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0174/1.706, allocations: 5.625 MB / 1.347 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007107/1.713, allocations: 2.379 MB / 1.349 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01512/1.728, allocations: 12.44 MB / 1.361 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00591/1.734, allocations: 2.986 MB / 1.364 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01327/1.748, allocations: 3.544 MB / 1.368 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007275/1.755, allocations: 2.936 MB / 1.371 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009693/1.756, allocations: 150.4 kB / 1.371 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/1.768, allocations: 5.285 MB / 1.376 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003016/1.771, allocations: 1.422 MB / 1.377 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004165/1.775, allocations: 1.887 MB / 1.379 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/1.789, allocations: 6.75 MB / 1.386 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.789, allocations: 0 / 1.386 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.789, allocations: 0 / 1.386 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001791/1.789, allocations: 0 / 1.386 GB, free: 4.188 MB / 0.9981 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.007339/1.796, allocations: 3.428 MB / 1.389 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.796, allocations: 10 kB / 1.389 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/1.802, allocations: 0.9444 MB / 1.39 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004742/1.807, allocations: 2.258 MB / 1.392 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/1.807, allocations: 279.4 kB / 1.393 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005383/1.808, allocations: 295.7 kB / 1.393 GB, free: 15.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006499/1.814, allocations: 3.366 MB / 1.396 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.095e-05/1.814, allocations: 4 kB / 1.396 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003092/1.815, allocations: 116 kB / 1.396 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/1.815, allocations: 105.3 kB / 1.396 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/1.82, allocations: 2.805 MB / 1.399 GB, free: 9.246 MB / 1.014 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.02063/1.841, allocations: 13.25 MB / 1.412 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/1.845, allocations: 1.706 MB / 1.414 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/1.847, allocations: 1.112 MB / 1.415 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006142/1.847, allocations: 333.6 kB / 1.415 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.81e-05/1.848, allocations: 52.56 kB / 1.415 GB, free: 7.785 MB / 1.029 GB Notification: Performance of pre-optimization done (n=182): time 5.31e-06/1.848, allocations: 0 / 1.415 GB, free: 7.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=182): time 0.007513/1.855, allocations: 2.739 MB / 1.418 GB, free: 5.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/1.855, allocations: 69.41 kB / 1.418 GB, free: 4.957 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/1.859, allocations: 1.994 MB / 1.42 GB, free: 2.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/1.86, allocations: 69.7 kB / 1.42 GB, free: 2.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001084/1.861, allocations: 1.409 MB / 1.421 GB, free: 1.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/1.862, allocations: 0.6438 MB / 1.422 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/1.862, allocations: 169.6 kB / 1.422 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.862, allocations: 309.1 kB / 1.422 GB, free: 344 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.864, allocations: 0.8004 MB / 1.423 GB, free: 15.53 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/1.865, allocations: 1.41 MB / 1.425 GB, free: 13.87 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/1.869, allocations: 2.256 MB / 1.427 GB, free: 11.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.869, allocations: 4 kB / 1.427 GB, free: 11.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006389/1.875, allocations: 2.513 MB / 1.429 GB, free: 8.906 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004568/1.876, allocations: 493.6 kB / 1.43 GB, free: 8.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.876, allocations: 12 kB / 1.43 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.508e-05/1.876, allocations: 24 kB / 1.43 GB, free: 8.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0034/1.879, allocations: 0.5577 MB / 1.43 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/1.882, allocations: 4.161 MB / 1.434 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/1.885, allocations: 401.9 kB / 1.435 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/1.885, allocations: 91.92 kB / 1.435 GB, free: 2.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.885, allocations: 4 kB / 1.435 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00364/1.889, allocations: 2.222 MB / 1.437 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/1.889, allocations: 12 kB / 1.437 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.889, allocations: 24 kB / 1.437 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.891, allocations: 479.3 kB / 1.437 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/1.891, allocations: 31.92 kB / 1.437 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003527/1.895, allocations: 377.9 kB / 1.438 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/1.895, allocations: 92 kB / 1.438 GB, free: 15.62 MB / 1.061 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001693/1.896, allocations: 0.8612 MB / 1.439 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006566/1.897, allocations: 272.7 kB / 1.439 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/1.901, allocations: 2.107 MB / 1.441 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/1.901, allocations: 16 kB / 1.441 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.901, allocations: 11.92 kB / 1.441 GB, free: 12.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002716/1.904, allocations: 1.89 MB / 1.443 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009157/1.913, allocations: 5.182 MB / 1.448 GB, free: 5.148 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.913, allocations: 4 kB / 1.448 GB, free: 5.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.915, allocations: 0.4901 MB / 1.449 GB, free: 4.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.834e-05/1.915, allocations: 12 kB / 1.449 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/1.915, allocations: 55.97 kB / 1.449 GB, free: 4.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.917, allocations: 4.122 MB / 1.453 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.917, allocations: 4 kB / 1.453 GB, free: 308 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/1.923, allocations: 3.236 MB / 1.456 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.925, allocations: 0.5715 MB / 1.456 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007946/1.926, allocations: 36 kB / 1.456 GB, free: 12.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002902/1.929, allocations: 255.3 kB / 1.457 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/1.929, allocations: 113.7 kB / 1.457 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.929, allocations: 75.95 kB / 1.457 GB, free: 11.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002451/1.932, allocations: 1.33 MB / 1.458 GB, free: 10.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.51e-07/1.932, allocations: 0 / 1.458 GB, free: 10.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005351/1.937, allocations: 1.718 MB / 1.46 GB, free: 8.883 MB / 1.076 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 (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009417/1.938, allocations: 373.5 kB / 1.46 GB, free: 8.531 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006806/1.945, allocations: 3.317 MB / 1.463 GB, free: 5.227 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/1.945, allocations: 0 / 1.463 GB, free: 5.227 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/1.947, allocations: 1.035 MB / 1.464 GB, free: 4.191 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0109/1.958, allocations: 1.585 MB / 1.466 GB, free: 2.617 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.972, allocations: 8.165 MB / 1.474 GB, free: 10.39 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/1.974, allocations: 2.182 MB / 1.476 GB, free: 8.176 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004787/1.979, allocations: 1.1 MB / 1.477 GB, free: 7.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009111/1.98, allocations: 211.4 kB / 1.477 GB, free: 6.863 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.98, allocations: 4 kB / 1.477 GB, free: 6.859 MB / 1.092 GB Notification: Performance of Templates: time 0.09256/2.073, allocations: 52.64 MB / 1.529 GB, free: 2.926 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches