Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 171.4 kB / 16.11 MB, free: 5.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007172/0.0007172, allocations: 104.9 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.596/0.596, allocations: 90.51 MB / 408.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002768, allocations: 8 kB / 484.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 65.81 MB / 0.5378 GB, free: 34.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.1192/0.3584, allocations: 136.7 MB / 0.6713 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.3606, allocations: 2.08 MB / 0.6733 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3607, allocations: 4 kB / 0.6733 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.3611, allocations: 95.52 kB / 0.6734 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.3614, allocations: 123.2 kB / 0.6735 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.3618, allocations: 151.5 kB / 0.6737 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.3621, allocations: 314.7 kB / 0.674 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3622, allocations: 51.75 kB / 0.674 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00034/0.3625, allocations: 167.3 kB / 0.6742 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3627, allocations: 111.5 kB / 0.6743 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3627, allocations: 8 kB / 0.6743 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003796/0.3631, allocations: 247.4 kB / 0.6745 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.3631, allocations: 15.92 kB / 0.6745 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.003e-05/0.3632, allocations: 79.55 kB / 0.6746 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3636, allocations: 251.1 kB / 0.6749 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3636, allocations: 8 kB / 0.6749 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3636, allocations: 0 / 0.6749 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3636, allocations: 0 / 0.6749 GB, free: 10.07 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007592/0.3644, allocations: 497.7 kB / 0.6753 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.3644, allocations: 8.031 kB / 0.6754 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.191e-05/0.3645, allocations: 20.75 kB / 0.6754 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3647, allocations: 228.5 kB / 0.6756 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3647, allocations: 4.609 kB / 0.6756 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.3647, allocations: 12.38 kB / 0.6756 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.3651, allocations: 172.4 kB / 0.6758 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3651, allocations: 0 / 0.6758 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3651, allocations: 0 / 0.6758 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3651, allocations: 4 kB / 0.6758 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.3655, allocations: 123.8 kB / 0.6759 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.3664, allocations: 0.796 MB / 0.6767 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.3667, allocations: 118.5 kB / 0.6768 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3669, allocations: 52.83 kB / 0.6768 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.983e-05/0.367, allocations: 81.11 kB / 0.6769 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002547/0.3672, allocations: 111.3 kB / 0.677 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.3672, allocations: 0 / 0.677 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005219/0.3678, allocations: 185.4 kB / 0.6772 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.3678, allocations: 51.41 kB / 0.6772 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.368, allocations: 186.6 kB / 0.6774 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.368, allocations: 29.7 kB / 0.6775 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.3681, allocations: 148 kB / 0.6776 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3681, allocations: 31.62 kB / 0.6776 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.3681, allocations: 8 kB / 0.6776 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3683, allocations: 322.8 kB / 0.6779 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.3684, allocations: 59.95 kB / 0.678 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3686, allocations: 97.06 kB / 0.6781 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3689, allocations: 170.7 kB / 0.6783 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3689, allocations: 4 kB / 0.6783 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004475/0.3694, allocations: 229.1 kB / 0.6785 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.3694, allocations: 37.69 kB / 0.6785 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3695, allocations: 0 / 0.6785 GB, free: 5.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3695, allocations: 4 kB / 0.6785 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.3696, allocations: 35.92 kB / 0.6785 GB, free: 5.945 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3696, allocations: 4 kB / 0.6786 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3698, allocations: 35.83 kB / 0.6786 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.3698, allocations: 8 kB / 0.6786 GB, free: 5.898 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.3699, allocations: 125.8 kB / 0.6787 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.37, allocations: 12.19 kB / 0.6787 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3704, allocations: 158.9 kB / 0.6789 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3704, allocations: 0 / 0.6789 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.3704, allocations: 0 / 0.6789 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.3704, allocations: 92.91 kB / 0.679 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3705, allocations: 7.938 kB / 0.679 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3706, allocations: 15.98 kB / 0.679 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.3707, allocations: 15.92 kB / 0.679 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000473/0.3711, allocations: 232.7 kB / 0.6792 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005429/0.3717, allocations: 370.5 kB / 0.6796 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001615/0.3719, allocations: 56.05 kB / 0.6796 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001041/0.372, allocations: 148.2 kB / 0.6798 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of Backend: time 5.31e-07/0.372, allocations: 0 / 0.6798 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006607/0.3727, allocations: 287.5 kB / 0.68 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of SimCode: time 0.000822/0.3735, allocations: 0.8723 MB / 0.6809 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.005395/0.3789, allocations: 2.765 MB / 0.6836 GB, free: 0.6602 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches