Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, 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.249/1.249, allocations: 205 MB / 221.9 MB, free: 9.141 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.0007685/0.0007685, allocations: 100.9 kB / 269.9 MB, free: 8.664 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.631/0.631, allocations: 90.51 MB / 408.3 MB, free: 3.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 8 kB / 484.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 65.81 MB / 0.5378 GB, free: 34.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1217/0.3631, allocations: 136.9 MB / 0.6715 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.3661, allocations: 3.249 MB / 0.6746 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3662, allocations: 4 kB / 0.6746 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.3666, allocations: 111.4 kB / 0.6747 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3669, allocations: 155.1 kB / 0.6749 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3672, allocations: 179.4 kB / 0.6751 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.3676, allocations: 350.6 kB / 0.6754 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.3677, allocations: 47.75 kB / 0.6754 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.368, allocations: 159.3 kB / 0.6756 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3682, allocations: 119.5 kB / 0.6757 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3682, allocations: 4 kB / 0.6757 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000486/0.3687, allocations: 331.3 kB / 0.676 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.3687, allocations: 27.86 kB / 0.6761 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.337e-05/0.3688, allocations: 79.55 kB / 0.6761 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.3692, allocations: 283.1 kB / 0.6764 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3692, allocations: 0 / 0.6764 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3692, allocations: 0 / 0.6764 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3692, allocations: 4 kB / 0.6764 GB, free: 8.496 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005955/0.3698, allocations: 455.8 kB / 0.6768 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.3699, allocations: 11.97 kB / 0.6768 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3699, allocations: 24.69 kB / 0.6769 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.3701, allocations: 223.9 kB / 0.6771 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3701, allocations: 12.31 kB / 0.6771 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.3702, allocations: 20.3 kB / 0.6771 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3704, allocations: 148.2 kB / 0.6773 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3704, allocations: 4 kB / 0.6773 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3704, allocations: 4 kB / 0.6773 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3705, allocations: 4 kB / 0.6773 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3706, allocations: 71.97 kB / 0.6773 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007128/0.3713, allocations: 0.7556 MB / 0.6781 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3715, allocations: 129.2 kB / 0.6782 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.3716, allocations: 49.83 kB / 0.6782 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.3716, allocations: 4 kB / 0.6783 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3717, allocations: 38.5 kB / 0.6783 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.3717, allocations: 4 kB / 0.6783 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0007161/0.3724, allocations: 373.5 kB / 0.6786 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.3724, allocations: 77.11 kB / 0.6787 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3726, allocations: 195.8 kB / 0.6789 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3726, allocations: 25.7 kB / 0.6789 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.3727, allocations: 124 kB / 0.6791 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.3727, allocations: 55.2 kB / 0.6791 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.3727, allocations: 4 kB / 0.6791 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.3728, allocations: 326.8 kB / 0.6794 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.3729, allocations: 35.98 kB / 0.6795 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.373, allocations: 59.42 kB / 0.6795 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3731, allocations: 107.4 kB / 0.6796 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3732, allocations: 0 / 0.6796 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002809/0.3734, allocations: 175.1 kB / 0.6798 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3735, allocations: 4 kB / 0.6798 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3735, allocations: 0 / 0.6798 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.3737, allocations: 49.7 kB / 0.6798 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.3737, allocations: 15.92 kB / 0.6798 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.3753, allocations: 2.56 MB / 0.6823 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3754, allocations: 15.88 kB / 0.6824 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3754, allocations: 4 kB / 0.6824 GB, free: 1.734 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.3755, allocations: 127.7 kB / 0.6825 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.3756, allocations: 15.81 kB / 0.6825 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.3759, allocations: 176.7 kB / 0.6827 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3759, allocations: 3.984 kB / 0.6827 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3759, allocations: 7.875 kB / 0.6827 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.376, allocations: 92.92 kB / 0.6828 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.376, allocations: 0 / 0.6828 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3761, allocations: 4 kB / 0.6828 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3762, allocations: 11.98 kB / 0.6828 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004358/0.3766, allocations: 325.8 kB / 0.6831 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003326/0.377, allocations: 445.8 kB / 0.6835 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.021e-05/0.377, allocations: 48.28 kB / 0.6836 GB, free: 444 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.3771, allocations: 141.5 kB / 0.6837 GB, free: 304 kB / 0.4948 GB Notification: Performance of Backend: time 4.2e-07/0.3772, allocations: 0 / 0.6837 GB, free: 304 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1776/0.5547, allocations: 0.5101 MB / 0.6842 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of SimCode: time 0.0009613/0.5557, allocations: 1.023 MB / 0.6852 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.007294/0.563, allocations: 3.408 MB / 0.6885 GB, free: 142.7 MB / 0.4948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches