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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 99.19 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186.3 kB / 16.92 MB, free: 6.75 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7087, allocations: 142.4 MB / 0.9557 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.3368/1.046, allocations: 298.8 MB / 1.247 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7413/1.787, allocations: 25.72 MB / 1.273 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/1.793, allocations: 108.5 kB / 1.273 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005992/1.799, allocations: 1.538 MB / 1.274 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02098/1.82, allocations: 5.631 MB / 1.28 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009194/1.829, allocations: 2.376 MB / 1.282 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02155/1.851, allocations: 12.41 MB / 1.294 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007897/1.859, allocations: 2.996 MB / 1.297 GB, free: 17.81 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/1.874, allocations: 3.557 MB / 1.301 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008006/1.882, allocations: 2.931 MB / 1.303 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001852/1.884, allocations: 150.5 kB / 1.304 GB, free: 17.73 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/1.9, allocations: 5.277 MB / 1.309 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004156/1.904, allocations: 1.423 MB / 1.31 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007715/1.912, allocations: 1.882 MB / 1.312 GB, free: 17.65 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/1.922, allocations: 4.963 MB / 1.317 GB, free: 17.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.922, allocations: 0 / 1.317 GB, free: 17.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.277e-06/1.922, allocations: 0 / 1.317 GB, free: 17.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002729/1.923, allocations: 0 / 1.317 GB, free: 17.29 MB / 1.014 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.01002/1.933, allocations: 3.429 MB / 1.32 GB, free: 15.56 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/1.933, allocations: 9.844 kB / 1.32 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007165/1.94, allocations: 0.9471 MB / 1.321 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/1.947, allocations: 2.271 MB / 1.323 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/1.947, allocations: 277.8 kB / 1.324 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/1.948, allocations: 287 kB / 1.324 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009818/1.958, allocations: 3.371 MB / 1.327 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.958, allocations: 6.438 kB / 1.327 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/1.959, allocations: 115.4 kB / 1.327 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/1.959, allocations: 107.9 kB / 1.327 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00663/1.966, allocations: 2.801 MB / 1.33 GB, free: 14.33 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.02121/1.987, allocations: 13.26 MB / 1.343 GB, free: 5.375 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002895/1.99, allocations: 1.69 MB / 1.345 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.992, allocations: 1.108 MB / 1.346 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/1.992, allocations: 335.9 kB / 1.346 GB, free: 4.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/1.993, allocations: 59.06 kB / 1.346 GB, free: 4.648 MB / 1.014 GB Notification: Performance of pre-optimization done (n=182): time 3.807e-06/1.993, allocations: 3 kB / 1.346 GB, free: 4.648 MB / 1.014 GB Notification: Performance of matching and sorting (n=182): time 0.0056/1.998, allocations: 2.738 MB / 1.349 GB, free: 4.141 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/1.998, allocations: 69.19 kB / 1.349 GB, free: 4.074 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/2.002, allocations: 1.996 MB / 1.351 GB, free: 3.512 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004062/2.002, allocations: 68.58 kB / 1.351 GB, free: 3.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/2.004, allocations: 1.408 MB / 1.352 GB, free: 2.809 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007753/2.004, allocations: 0.646 MB / 1.353 GB, free: 2.332 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/2.005, allocations: 168.7 kB / 1.353 GB, free: 2.293 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.005, allocations: 305.1 kB / 1.353 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/2.006, allocations: 0.8064 MB / 1.354 GB, free: 1.867 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/2.008, allocations: 1.409 MB / 1.355 GB, free: 1.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/2.011, allocations: 2.256 MB / 1.358 GB, free: 380 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/2.011, allocations: 10.34 kB / 1.358 GB, free: 376 kB / 1.014 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004414/2.015, allocations: 2.511 MB / 1.36 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003396/2.016, allocations: 498.2 kB / 1.361 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.535e-05/2.016, allocations: 12.91 kB / 1.361 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/2.016, allocations: 30.61 kB / 1.361 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/2.018, allocations: 0.5564 MB / 1.361 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/2.021, allocations: 4.152 MB / 1.365 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003932/2.024, allocations: 398.7 kB / 1.366 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/2.025, allocations: 89.48 kB / 1.366 GB, free: 10.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/2.025, allocations: 7 kB / 1.366 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003694/2.028, allocations: 2.225 MB / 1.368 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/2.029, allocations: 12.31 kB / 1.368 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/2.029, allocations: 29.38 kB / 1.368 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/2.03, allocations: 471 kB / 1.368 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/2.03, allocations: 30.03 kB / 1.368 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/2.034, allocations: 381.4 kB / 1.369 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/2.034, allocations: 85.58 kB / 1.369 GB, free: 10.41 MB / 1.029 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.002421/2.037, allocations: 0.8531 MB / 1.37 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/2.038, allocations: 271.4 kB / 1.37 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/2.042, allocations: 2.116 MB / 1.372 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/2.042, allocations: 16.41 kB / 1.372 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/2.042, allocations: 4 kB / 1.372 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002933/2.045, allocations: 1.896 MB / 1.374 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/2.056, allocations: 5.183 MB / 1.379 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/2.056, allocations: 3.625 kB / 1.379 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/2.058, allocations: 0.4947 MB / 1.379 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.372e-05/2.058, allocations: 11 kB / 1.379 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/2.059, allocations: 60.28 kB / 1.38 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/2.061, allocations: 4.119 MB / 1.384 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/2.061, allocations: 5.906 kB / 1.384 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/2.066, allocations: 3.238 MB / 1.387 GB, free: 1.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/2.068, allocations: 0.562 MB / 1.387 GB, free: 1.031 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/2.07, allocations: 48.06 kB / 1.387 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/2.073, allocations: 255.3 kB / 1.388 GB, free: 0.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/2.073, allocations: 115.6 kB / 1.388 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002243/2.074, allocations: 69.78 kB / 1.388 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003317/2.077, allocations: 1.338 MB / 1.389 GB, free: 15.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.01e-07/2.077, allocations: 0 / 1.389 GB, free: 15.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006813/2.084, allocations: 1.714 MB / 1.391 GB, free: 13.82 MB / 1.045 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.001156/2.085, allocations: 365 kB / 1.391 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.007355/2.092, allocations: 3.314 MB / 1.394 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/2.092, allocations: 4 kB / 1.394 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/2.094, allocations: 1.032 MB / 1.395 GB, free: 9.305 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/2.107, allocations: 1.599 MB / 1.397 GB, free: 7.715 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/2.122, allocations: 8.349 MB / 1.405 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/2.125, allocations: 2.198 MB / 1.407 GB, free: 13.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/2.126, allocations: 231.4 kB / 1.407 GB, free: 12.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.402e-06/2.126, allocations: 4 kB / 1.407 GB, free: 12.89 MB / 1.061 GB Notification: Performance of Templates: time 0.1576/2.283, allocations: 140.6 MB / 1.545 GB, free: 0.5352 MB / 1.186 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches