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.001358/0.001358, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.001422/0.001422, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7421, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.2811/1.023, allocations: 305.1 MB / 1.465 GB, free: 1.609 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03198/1.055, allocations: 25.83 MB / 1.491 GB, free: 7.711 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/1.059, allocations: 131.2 kB / 1.491 GB, free: 7.582 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00423/1.063, allocations: 1.856 MB / 1.492 GB, free: 5.715 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01449/1.078, allocations: 6.189 MB / 1.499 GB, free: 15.5 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/1.084, allocations: 2.652 MB / 1.501 GB, free: 12.87 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01176/1.096, allocations: 8.916 MB / 1.51 GB, free: 3.93 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/1.101, allocations: 3.62 MB / 1.513 GB, free: 228 kB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009504/1.111, allocations: 4.262 MB / 1.518 GB, free: 11.99 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005185/1.116, allocations: 2.966 MB / 1.52 GB, free: 9.023 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/1.117, allocations: 360 kB / 1.521 GB, free: 8.672 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009203/1.126, allocations: 4.622 MB / 1.525 GB, free: 4.039 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002103/1.128, allocations: 1.64 MB / 1.527 GB, free: 2.395 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003759/1.132, allocations: 2.131 MB / 1.529 GB, free: 260 kB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.143, allocations: 6.766 MB / 1.536 GB, free: 9.465 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.143, allocations: 4 kB / 1.536 GB, free: 9.461 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.643e-06/1.143, allocations: 7.938 kB / 1.536 GB, free: 9.453 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001811/1.143, allocations: 0 / 1.536 GB, free: 9.453 MB / 1.264 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.007819/1.151, allocations: 4.28 MB / 1.54 GB, free: 5.098 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.151, allocations: 8.625 kB / 1.54 GB, free: 5.09 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/1.157, allocations: 0.9577 MB / 1.541 GB, free: 4.129 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/1.161, allocations: 2.41 MB / 1.543 GB, free: 1.645 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002251/1.161, allocations: 281.2 kB / 1.543 GB, free: 1.355 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005163/1.162, allocations: 299.9 kB / 1.544 GB, free: 1.062 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005645/1.168, allocations: 3.355 MB / 1.547 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/1.168, allocations: 3.953 kB / 1.547 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/1.168, allocations: 115.9 kB / 1.547 GB, free: 13.5 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/1.168, allocations: 113.3 kB / 1.547 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00464/1.173, allocations: 2.8 MB / 1.55 GB, free: 10.58 MB / 1.279 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.5743/1.747, allocations: 13.29 MB / 1.563 GB, free: 382.6 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/1.75, allocations: 1.687 MB / 1.564 GB, free: 382.1 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/1.751, allocations: 1.105 MB / 1.566 GB, free: 381.7 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/1.752, allocations: 325.6 kB / 1.566 GB, free: 381.4 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.752, allocations: 57.06 kB / 1.566 GB, free: 381.4 MB / 1.279 GB Notification: Performance of pre-optimization done (n=182): time 3.937e-06/1.752, allocations: 3.375 kB / 1.566 GB, free: 381.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=182): time 0.00433/1.756, allocations: 2.746 MB / 1.569 GB, free: 380.5 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/1.756, allocations: 69.16 kB / 1.569 GB, free: 380.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/1.758, allocations: 1.996 MB / 1.571 GB, free: 379.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001701/1.759, allocations: 67.8 kB / 1.571 GB, free: 379.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007641/1.759, allocations: 1.434 MB / 1.572 GB, free: 378.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000456/1.76, allocations: 0.6757 MB / 1.573 GB, free: 378.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.76, allocations: 393 kB / 1.573 GB, free: 378.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/1.76, allocations: 301.1 kB / 1.573 GB, free: 377.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.761, allocations: 0.818 MB / 1.574 GB, free: 377.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.763, allocations: 1.405 MB / 1.576 GB, free: 376.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/1.765, allocations: 2.259 MB / 1.578 GB, free: 375.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.765, allocations: 7.812 kB / 1.578 GB, free: 375.4 MB / 1.279 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003228/1.768, allocations: 2.509 MB / 1.58 GB, free: 374.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.768, allocations: 12.84 kB / 1.58 GB, free: 374.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.768, allocations: 12.12 kB / 1.58 GB, free: 374.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/1.768, allocations: 25 kB / 1.58 GB, free: 374.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.771, allocations: 0.5557 MB / 1.581 GB, free: 374.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/1.772, allocations: 4.157 MB / 1.585 GB, free: 370.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/1.774, allocations: 223.6 kB / 1.585 GB, free: 370.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.774, allocations: 91.12 kB / 1.585 GB, free: 370.1 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001902/1.776, allocations: 1.461 MB / 1.587 GB, free: 369.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001244/1.777, allocations: 1.408 MB / 1.588 GB, free: 368.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002237/1.78, allocations: 2.23 MB / 1.59 GB, free: 366 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.662e-06/1.78, allocations: 7.172 kB / 1.59 GB, free: 366 MB / 1.279 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.002944/1.783, allocations: 2.501 MB / 1.593 GB, free: 363.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.783, allocations: 8 kB / 1.593 GB, free: 363.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.783, allocations: 16 kB / 1.593 GB, free: 363.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.783, allocations: 20 kB / 1.593 GB, free: 363.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.784, allocations: 474.8 kB / 1.593 GB, free: 363 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/1.784, allocations: 31.86 kB / 1.593 GB, free: 363 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002005/1.786, allocations: 196 kB / 1.593 GB, free: 362.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.786, allocations: 87.98 kB / 1.593 GB, free: 362.8 MB / 1.279 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.000391/1.787, allocations: 312.3 kB / 1.594 GB, free: 362.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.787, allocations: 282.8 kB / 1.594 GB, free: 362.2 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/1.79, allocations: 2.11 MB / 1.596 GB, free: 360.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001997/1.792, allocations: 1.885 MB / 1.598 GB, free: 358.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.792, allocations: 0 / 1.598 GB, free: 358.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008463/1.793, allocations: 0.5736 MB / 1.598 GB, free: 357.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.793, allocations: 36 kB / 1.598 GB, free: 357.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.795, allocations: 88.09 kB / 1.599 GB, free: 357.4 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.795, allocations: 109.8 kB / 1.599 GB, free: 357.3 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003862/1.799, allocations: 2.357 MB / 1.601 GB, free: 355 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003465/1.802, allocations: 3.314 MB / 1.604 GB, free: 351.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009233/1.803, allocations: 0.9174 MB / 1.605 GB, free: 350.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001436/1.804, allocations: 1.342 MB / 1.606 GB, free: 349.4 MB / 1.279 GB Notification: Performance of Backend: time 6.52e-07/1.804, allocations: 2.312 kB / 1.606 GB, free: 349.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006462/1.811, allocations: 3.556 MB / 1.61 GB, free: 346.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.009532/1.82, allocations: 7.554 MB / 1.617 GB, free: 338.8 MB / 1.279 GB Notification: Performance of Templates: time 0.08269/1.903, allocations: 69.27 MB / 1.685 GB, free: 270.1 MB / 1.279 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches