Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001769/0.001769, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.00146/0.00146, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.388/1.388, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.67 kB / 1.097 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3102, allocations: 168.7 MB / 1.262 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.051/1.362, allocations: 306.4 MB / 1.561 GB, free: 3.754 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03466/1.396, allocations: 25.9 MB / 1.587 GB, free: 3.652 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004973/1.401, allocations: 129.6 kB / 1.587 GB, free: 3.652 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005364/1.407, allocations: 1.884 MB / 1.589 GB, free: 3.625 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01574/1.422, allocations: 6.188 MB / 1.595 GB, free: 3.398 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007925/1.43, allocations: 2.679 MB / 1.597 GB, free: 3.309 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01329/1.444, allocations: 8.941 MB / 1.606 GB, free: 3.293 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005756/1.449, allocations: 2.995 MB / 1.609 GB, free: 3.039 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01126/1.461, allocations: 4.296 MB / 1.613 GB, free: 2.996 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006191/1.467, allocations: 3.179 MB / 1.616 GB, free: 2.988 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/1.468, allocations: 357.5 kB / 1.616 GB, free: 2.988 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/1.479, allocations: 4.869 MB / 1.621 GB, free: 2.945 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002999/1.482, allocations: 1.68 MB / 1.623 GB, free: 2.945 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.005453/1.488, allocations: 2.136 MB / 1.625 GB, free: 2.41 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/1.502, allocations: 6.767 MB / 1.632 GB, free: 1.559 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/1.502, allocations: 2.859 kB / 1.632 GB, free: 1.559 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.683e-06/1.502, allocations: 0.8125 kB / 1.632 GB, free: 1.559 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0002215/1.502, allocations: 2.531 kB / 1.632 GB, free: 1.559 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.01091/1.513, allocations: 4.285 MB / 1.636 GB, free: 15.62 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.513, allocations: 12.2 kB / 1.636 GB, free: 15.62 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/1.52, allocations: 0.9629 MB / 1.637 GB, free: 15.39 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/1.526, allocations: 2.421 MB / 1.639 GB, free: 14.71 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/1.526, allocations: 271.7 kB / 1.639 GB, free: 14.64 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/1.527, allocations: 294 kB / 1.64 GB, free: 14.64 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008196/1.535, allocations: 3.356 MB / 1.643 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.921e-05/1.535, allocations: 0 / 1.643 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005592/1.536, allocations: 118.9 kB / 1.643 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/1.536, allocations: 114.6 kB / 1.643 GB, free: 14.36 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/1.541, allocations: 2.799 MB / 1.646 GB, free: 14.33 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.01597/1.557, allocations: 13.29 MB / 1.659 GB, free: 7.016 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/1.559, allocations: 1.602 MB / 1.66 GB, free: 6.969 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/1.56, allocations: 1.029 MB / 1.661 GB, free: 6.957 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004759/1.561, allocations: 340.2 kB / 1.662 GB, free: 6.66 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/1.561, allocations: 70.28 kB / 1.662 GB, free: 6.613 MB / 1.279 GB Notification: Performance of pre-optimization done (n=182): time 4.057e-06/1.561, allocations: 0 / 1.662 GB, free: 6.613 MB / 1.279 GB Notification: Performance of matching and sorting (n=182): time 0.004672/1.566, allocations: 2.736 MB / 1.664 GB, free: 6.375 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.566, allocations: 71.09 kB / 1.665 GB, free: 6.309 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/1.568, allocations: 1.999 MB / 1.666 GB, free: 6.078 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/1.568, allocations: 67.89 kB / 1.667 GB, free: 6.047 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009857/1.569, allocations: 1.439 MB / 1.668 GB, free: 5.492 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006848/1.57, allocations: 0.6734 MB / 1.669 GB, free: 5.051 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/1.57, allocations: 388.2 kB / 1.669 GB, free: 5.016 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.571, allocations: 302.5 kB / 1.669 GB, free: 4.719 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/1.572, allocations: 0.81 MB / 1.67 GB, free: 4.695 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/1.573, allocations: 1.412 MB / 1.671 GB, free: 4.031 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00286/1.576, allocations: 2.252 MB / 1.674 GB, free: 2.996 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.576, allocations: 5.688 kB / 1.674 GB, free: 2.996 MB / 1.279 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004072/1.58, allocations: 2.516 MB / 1.676 GB, free: 2.055 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.58, allocations: 14.97 kB / 1.676 GB, free: 2.051 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.58, allocations: 11.31 kB / 1.676 GB, free: 2.051 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.113e-05/1.58, allocations: 24.91 kB / 1.676 GB, free: 2.051 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.583, allocations: 0.5554 MB / 1.677 GB, free: 2.023 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/1.585, allocations: 4.153 MB / 1.681 GB, free: 13.88 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.588, allocations: 226.6 kB / 1.681 GB, free: 13.73 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/1.588, allocations: 87.42 kB / 1.681 GB, free: 13.72 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002389/1.591, allocations: 1.467 MB / 1.682 GB, free: 13.11 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001636/1.592, allocations: 1.398 MB / 1.684 GB, free: 12.11 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002828/1.595, allocations: 2.235 MB / 1.686 GB, free: 10.86 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.013e-06/1.595, allocations: 2.25 kB / 1.686 GB, free: 10.86 MB / 1.295 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003844/1.599, allocations: 2.492 MB / 1.688 GB, free: 9.926 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.599, allocations: 16.5 kB / 1.688 GB, free: 9.922 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/1.599, allocations: 13.34 kB / 1.689 GB, free: 9.922 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.599, allocations: 21.19 kB / 1.689 GB, free: 9.922 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/1.601, allocations: 474 kB / 1.689 GB, free: 9.906 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/1.601, allocations: 35.48 kB / 1.689 GB, free: 9.902 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002569/1.603, allocations: 194 kB / 1.689 GB, free: 9.789 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.603, allocations: 87.33 kB / 1.689 GB, free: 9.773 MB / 1.295 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.000553/1.604, allocations: 313.9 kB / 1.69 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004853/1.604, allocations: 293.1 kB / 1.69 GB, free: 9.363 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/1.608, allocations: 2.106 MB / 1.692 GB, free: 8.496 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002656/1.61, allocations: 1.884 MB / 1.694 GB, free: 7.465 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.61, allocations: 0 / 1.694 GB, free: 7.465 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/1.612, allocations: 0.5798 MB / 1.694 GB, free: 7.023 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/1.612, allocations: 42.44 kB / 1.694 GB, free: 6.992 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/1.614, allocations: 81.66 kB / 1.694 GB, free: 6.945 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.614, allocations: 106.7 kB / 1.695 GB, free: 6.895 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004551/1.618, allocations: 2.354 MB / 1.697 GB, free: 5.691 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004566/1.623, allocations: 3.326 MB / 1.7 GB, free: 3.859 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/1.624, allocations: 0.8631 MB / 1.701 GB, free: 3.387 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001936/1.626, allocations: 1.331 MB / 1.702 GB, free: 2.672 MB / 1.295 GB Notification: Performance of Backend: time 2.71e-07/1.626, allocations: 0 / 1.702 GB, free: 2.672 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008114/1.634, allocations: 3.386 MB / 1.706 GB, free: 412 kB / 1.295 GB Notification: Performance of SimCode: time 0.01433/1.648, allocations: 7.566 MB / 1.713 GB, free: 8.82 MB / 1.311 GB Notification: Performance of Templates: time 0.1225/1.771, allocations: 70.61 MB / 1.782 GB, free: 3.039 MB / 1.373 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches