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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 110.4 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.001912/0.001912, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.539/2.539, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.89 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7551, allocations: 159.1 MB / 1.221 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.3971/1.152, allocations: 305.1 MB / 1.519 GB, free: 68 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03403/1.186, allocations: 25.83 MB / 1.544 GB, free: 6.168 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/1.191, allocations: 127.2 kB / 1.544 GB, free: 6.043 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004979/1.196, allocations: 1.864 MB / 1.546 GB, free: 4.168 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0152/1.211, allocations: 6.18 MB / 1.552 GB, free: 13.96 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.007033/1.218, allocations: 2.663 MB / 1.555 GB, free: 11.31 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.0111/1.229, allocations: 8.925 MB / 1.563 GB, free: 2.367 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6858/1.915, allocations: 3.611 MB / 1.567 GB, free: 9.387 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/1.926, allocations: 4.264 MB / 1.571 GB, free: 9.379 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006174/1.932, allocations: 2.969 MB / 1.574 GB, free: 9.375 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001082/1.933, allocations: 358.6 kB / 1.574 GB, free: 9.375 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0103/1.943, allocations: 4.623 MB / 1.579 GB, free: 9.375 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002948/1.946, allocations: 1.642 MB / 1.58 GB, free: 9.375 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004864/1.951, allocations: 2.133 MB / 1.583 GB, free: 9.375 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.963, allocations: 6.744 MB / 1.589 GB, free: 8.973 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.963, allocations: 0 / 1.589 GB, free: 8.973 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.413e-06/1.963, allocations: 4.719 kB / 1.589 GB, free: 8.973 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001255/1.963, allocations: 0 / 1.589 GB, free: 8.973 MB / 1.279 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.006981/1.97, allocations: 4.164 MB / 1.593 GB, free: 7.156 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.97, allocations: 11.03 kB / 1.593 GB, free: 7.156 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/1.976, allocations: 0.9392 MB / 1.594 GB, free: 6.953 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/1.98, allocations: 2.398 MB / 1.596 GB, free: 6.32 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/1.981, allocations: 269.6 kB / 1.597 GB, free: 6.25 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/1.981, allocations: 291.1 kB / 1.597 GB, free: 6.246 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005075/1.986, allocations: 3.359 MB / 1.6 GB, free: 5.988 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-05/1.986, allocations: 5.625 kB / 1.6 GB, free: 5.988 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/1.986, allocations: 117.3 kB / 1.6 GB, free: 5.988 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/1.986, allocations: 110.6 kB / 1.6 GB, free: 5.98 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/1.991, allocations: 2.798 MB / 1.603 GB, free: 5.949 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.0154/2.006, allocations: 13.26 MB / 1.616 GB, free: 14.71 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/2.008, allocations: 1.683 MB / 1.618 GB, free: 14.67 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/2.01, allocations: 1.102 MB / 1.619 GB, free: 14.64 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/2.01, allocations: 336.3 kB / 1.619 GB, free: 14.36 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/2.011, allocations: 56.84 kB / 1.619 GB, free: 14.32 MB / 1.295 GB Notification: Performance of pre-optimization done (n=182): time 3.868e-06/2.011, allocations: 0.8125 kB / 1.619 GB, free: 14.32 MB / 1.295 GB Notification: Performance of matching and sorting (n=182): time 0.00489/2.015, allocations: 2.739 MB / 1.622 GB, free: 14.09 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/2.015, allocations: 71.06 kB / 1.622 GB, free: 14.02 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/2.018, allocations: 1.995 MB / 1.624 GB, free: 13.79 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002798/2.018, allocations: 67.33 kB / 1.624 GB, free: 13.76 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009551/2.019, allocations: 1.405 MB / 1.625 GB, free: 13.24 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000653/2.02, allocations: 0.6443 MB / 1.626 GB, free: 12.82 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/2.02, allocations: 385 kB / 1.626 GB, free: 12.79 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/2.021, allocations: 302.5 kB / 1.627 GB, free: 12.49 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/2.022, allocations: 0.8113 MB / 1.627 GB, free: 12.47 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/2.023, allocations: 1.411 MB / 1.629 GB, free: 11.82 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/2.026, allocations: 2.255 MB / 1.631 GB, free: 11.32 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/2.026, allocations: 3.969 kB / 1.631 GB, free: 11.32 MB / 1.295 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004003/2.03, allocations: 2.499 MB / 1.634 GB, free: 11.11 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/2.03, allocations: 11 kB / 1.634 GB, free: 11.11 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/2.03, allocations: 18.19 kB / 1.634 GB, free: 11.11 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.413e-05/2.03, allocations: 22.31 kB / 1.634 GB, free: 11.11 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/2.033, allocations: 0.56 MB / 1.634 GB, free: 11.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/2.035, allocations: 4.145 MB / 1.638 GB, free: 7.012 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/2.038, allocations: 224 kB / 1.638 GB, free: 6.91 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/2.038, allocations: 88.16 kB / 1.638 GB, free: 6.91 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00245/2.04, allocations: 1.474 MB / 1.64 GB, free: 6.816 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001468/2.042, allocations: 1.393 MB / 1.641 GB, free: 6.164 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002603/2.044, allocations: 2.237 MB / 1.643 GB, free: 5.664 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.386e-06/2.044, allocations: 3.406 kB / 1.643 GB, free: 5.664 MB / 1.295 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.003786/2.048, allocations: 2.488 MB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/2.048, allocations: 10.5 kB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/2.048, allocations: 14.59 kB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/2.048, allocations: 22.56 kB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/2.05, allocations: 470.8 kB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/2.05, allocations: 31.56 kB / 1.646 GB, free: 5.449 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/2.053, allocations: 186.6 kB / 1.647 GB, free: 5.383 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/2.053, allocations: 88.39 kB / 1.647 GB, free: 5.383 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.0005502/2.053, allocations: 318.1 kB / 1.647 GB, free: 5.191 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/2.054, allocations: 272.2 kB / 1.647 GB, free: 5.055 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/2.057, allocations: 2.103 MB / 1.649 GB, free: 4.934 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002322/2.059, allocations: 1.886 MB / 1.651 GB, free: 4.633 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/2.059, allocations: 0.9062 kB / 1.651 GB, free: 4.633 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/2.061, allocations: 0.5596 MB / 1.652 GB, free: 4.383 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/2.061, allocations: 42.31 kB / 1.652 GB, free: 4.379 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/2.063, allocations: 81.59 kB / 1.652 GB, free: 4.379 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/2.063, allocations: 104.1 kB / 1.652 GB, free: 4.379 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004509/2.068, allocations: 2.359 MB / 1.654 GB, free: 4.16 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004267/2.072, allocations: 3.301 MB / 1.657 GB, free: 3.742 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0011/2.073, allocations: 0.9175 MB / 1.658 GB, free: 3.723 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001771/2.075, allocations: 1.342 MB / 1.66 GB, free: 3.574 MB / 1.295 GB Notification: Performance of Backend: time 3.5e-07/2.075, allocations: 0 / 1.66 GB, free: 3.574 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007948/2.083, allocations: 3.563 MB / 1.663 GB, free: 3.32 MB / 1.295 GB Notification: Performance of SimCode: time 0.01276/2.095, allocations: 7.43 MB / 1.67 GB, free: 15.97 MB / 1.311 GB Notification: Performance of Templates: time 0.1076/2.203, allocations: 69.27 MB / 1.738 GB, free: 172 kB / 1.342 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches