Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001381/0.001381, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7657/0.7657, allocations: 97.65 MB / 388.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00252/0.00252, allocations: 83.83 kB / 0.5268 GB, free: 38.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1022, allocations: 69.24 MB / 0.5944 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1653/0.2675, allocations: 140.9 MB / 0.732 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.2717, allocations: 3.323 MB / 0.7353 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.272, allocations: 23.81 kB / 0.7353 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.2725, allocations: 143.1 kB / 0.7354 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.273, allocations: 202.7 kB / 0.7356 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.2735, allocations: 203.2 kB / 0.7358 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.274, allocations: 394.4 kB / 0.7362 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.2741, allocations: 40.66 kB / 0.7362 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005075/0.2747, allocations: 230.9 kB / 0.7365 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.2748, allocations: 119.3 kB / 0.7366 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2749, allocations: 8 kB / 0.7366 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.2754, allocations: 271.5 kB / 0.7368 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.2754, allocations: 35.8 kB / 0.7369 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2755, allocations: 111.2 kB / 0.737 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.2761, allocations: 330.6 kB / 0.7373 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2761, allocations: 4 kB / 0.7373 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2761, allocations: 0 / 0.7373 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2761, allocations: 0 / 0.7373 GB, free: 13.59 MB / 0.5919 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.0008316/0.2769, allocations: 0.5783 MB / 0.7379 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.277, allocations: 12.03 kB / 0.7379 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.277, allocations: 36.7 kB / 0.7379 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.2777, allocations: 384.1 kB / 0.7383 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2777, allocations: 8.609 kB / 0.7383 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2777, allocations: 12.38 kB / 0.7383 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.278, allocations: 151.5 kB / 0.7384 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.278, allocations: 7.938 kB / 0.7384 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.278, allocations: 4 kB / 0.7385 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.278, allocations: 4 kB / 0.7385 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2781, allocations: 71.91 kB / 0.7385 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.279, allocations: 0.735 MB / 0.7392 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.2792, allocations: 81.09 kB / 0.7393 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.2793, allocations: 37.8 kB / 0.7394 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.2794, allocations: 162.2 kB / 0.7395 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.2794, allocations: 38.44 kB / 0.7395 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2794, allocations: 0 / 0.7395 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.0007484/0.2802, allocations: 345.3 kB / 0.7399 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.2802, allocations: 77.11 kB / 0.74 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.2806, allocations: 337.6 kB / 0.7403 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2806, allocations: 25.7 kB / 0.7403 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2808, allocations: 164.1 kB / 0.7405 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.2808, allocations: 31.73 kB / 0.7405 GB, free: 10 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.2809, allocations: 25.7 kB / 0.7405 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.281, allocations: 342.8 kB / 0.7408 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.2811, allocations: 23.98 kB / 0.7409 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.2811, allocations: 47.31 kB / 0.7409 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2812, allocations: 75.36 kB / 0.741 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2812, allocations: 0 / 0.741 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002918/0.2815, allocations: 159.1 kB / 0.7411 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2816, allocations: 9.031 kB / 0.7411 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2816, allocations: 0 / 0.7411 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.2818, allocations: 49.62 kB / 0.7412 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.2818, allocations: 8 kB / 0.7412 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2841, allocations: 2.766 MB / 0.7439 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.2842, allocations: 11.92 kB / 0.7439 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2842, allocations: 4 kB / 0.7439 GB, free: 6.16 MB / 0.5919 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001412/0.2843, allocations: 129.8 kB / 0.744 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.2844, allocations: 39.7 kB / 0.7441 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.2847, allocations: 155.6 kB / 0.7442 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2848, allocations: 4 kB / 0.7442 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2848, allocations: 0 / 0.7442 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2848, allocations: 0 / 0.7442 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.2854, allocations: 0.5361 MB / 0.7447 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2854, allocations: 0 / 0.7447 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.2854, allocations: 7.938 kB / 0.7448 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.2855, allocations: 37.69 kB / 0.7448 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2856, allocations: 8 kB / 0.7448 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.2877, allocations: 2.765 MB / 0.7475 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2877, allocations: 0 / 0.7475 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.2881, allocations: 342.1 kB / 0.7478 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.2882, allocations: 108.8 kB / 0.7479 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2882, allocations: 4 kB / 0.7479 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.2884, allocations: 8.25 kB / 0.7479 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.2884, allocations: 7.938 kB / 0.7479 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.2884, allocations: 7.922 kB / 0.748 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002711/0.2887, allocations: 243.2 kB / 0.7482 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2887, allocations: 0 / 0.7482 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004051/0.2891, allocations: 51.89 kB / 0.7482 GB, free: 1.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0002282/0.2893, allocations: 147.2 kB / 0.7484 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.2898, allocations: 285.2 kB / 0.7486 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2898, allocations: 0 / 0.7486 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.2901, allocations: 257.9 kB / 0.7489 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.2907, allocations: 73.44 kB / 0.749 GB, free: 500 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.231/0.5217, allocations: 0.5803 MB / 0.7495 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.5219, allocations: 0.7604 MB / 0.7503 GB, free: 156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.522, allocations: 28.56 kB / 0.7503 GB, free: 156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.522, allocations: 24.02 kB / 0.7503 GB, free: 156 MB / 0.5919 GB Notification: Performance of SimCode: time 8.01e-07/0.522, allocations: 1.719 kB / 0.7503 GB, free: 156 MB / 0.5919 GB Notification: Performance of Templates: time 0.008468/0.5305, allocations: 3.462 MB / 0.7537 GB, free: 155.8 MB / 0.5919 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches