Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001741/0.001741, allocations: 196 kB / 16.14 MB, free: 6.711 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6482/0.6482, allocations: 89.51 MB / 379.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 76.34 kB / 457.7 MB, free: 23.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 67.31 MB / 0.5127 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3732/0.4933, allocations: 138.5 MB / 0.6479 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.4965, allocations: 3.28 MB / 0.6511 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.4967, allocations: 3.938 kB / 0.6511 GB, free: 11.28 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.4972, allocations: 109.7 kB / 0.6512 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.4976, allocations: 139 kB / 0.6514 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.498, allocations: 187 kB / 0.6516 GB, free: 11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.4983, allocations: 313.8 kB / 0.6519 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4984, allocations: 48.88 kB / 0.6519 GB, free: 10.87 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003474/0.4987, allocations: 148.7 kB / 0.652 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.4989, allocations: 102.4 kB / 0.6521 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.4989, allocations: 11.73 kB / 0.6522 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.4994, allocations: 256.9 kB / 0.6524 GB, free: 10.67 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.4994, allocations: 24.03 kB / 0.6524 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.4995, allocations: 75.45 kB / 0.6525 GB, free: 10.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.4999, allocations: 238.3 kB / 0.6527 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4999, allocations: 0 / 0.6527 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.4999, allocations: 0 / 0.6527 GB, free: 10.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.4999, allocations: 4 kB / 0.6527 GB, free: 10.51 MB / 478.1 MB 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.000652/0.5006, allocations: 479.3 kB / 0.6532 GB, free: 10.05 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5006, allocations: 10.19 kB / 0.6532 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.5007, allocations: 45.48 kB / 0.6532 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.5007, allocations: 23.41 kB / 0.6533 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.5009, allocations: 221.9 kB / 0.6535 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.501, allocations: 9.547 kB / 0.6535 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.501, allocations: 12.25 kB / 0.6535 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.5013, allocations: 155.5 kB / 0.6536 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5013, allocations: 3.938 kB / 0.6536 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.5013, allocations: 10.25 kB / 0.6537 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5013, allocations: 2.938 kB / 0.6537 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.5015, allocations: 63.25 kB / 0.6537 GB, free: 9.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/0.5023, allocations: 0.7089 MB / 0.6544 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.5025, allocations: 86.28 kB / 0.6545 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.5026, allocations: 32.5 kB / 0.6545 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.5027, allocations: 167.7 kB / 0.6547 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.5028, allocations: 33 kB / 0.6547 GB, free: 8.555 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 4.479e-06/0.5028, allocations: 0 / 0.6547 GB, free: 8.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006357/0.5034, allocations: 327 kB / 0.655 GB, free: 8.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5035, allocations: 79.83 kB / 0.6551 GB, free: 8.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.5037, allocations: 221.5 kB / 0.6553 GB, free: 7.988 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.5037, allocations: 28.92 kB / 0.6553 GB, free: 7.957 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.5038, allocations: 123.5 kB / 0.6555 GB, free: 7.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.5038, allocations: 29.73 kB / 0.6555 GB, free: 7.812 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.5039, allocations: 25.47 kB / 0.6555 GB, free: 7.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.504, allocations: 329.2 kB / 0.6558 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.504, allocations: 14.34 kB / 0.6558 GB, free: 7.457 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.5041, allocations: 51.95 kB / 0.6559 GB, free: 7.406 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5042, allocations: 78.61 kB / 0.656 GB, free: 7.344 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5042, allocations: 0 / 0.656 GB, free: 7.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.5045, allocations: 145.1 kB / 0.6561 GB, free: 7.242 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5045, allocations: 13.42 kB / 0.6561 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5045, allocations: 2.938 kB / 0.6561 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001923/0.5047, allocations: 46.02 kB / 0.6562 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.691e-05/0.5048, allocations: 9.938 kB / 0.6562 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.5066, allocations: 2.557 MB / 0.6587 GB, free: 4.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.5067, allocations: 21.19 kB / 0.6587 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.5067, allocations: 7.219 kB / 0.6587 GB, free: 4.504 MB / 478.1 MB 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 9.88e-05/0.5068, allocations: 130.5 kB / 0.6588 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.5068, allocations: 17.91 kB / 0.6588 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5071, allocations: 155.6 kB / 0.659 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5072, allocations: 0 / 0.659 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5072, allocations: 2.938 kB / 0.659 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5072, allocations: 0 / 0.659 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.5076, allocations: 0.4937 MB / 0.6595 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5077, allocations: 6 kB / 0.6595 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.5077, allocations: 3.938 kB / 0.6595 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.5078, allocations: 40.94 kB / 0.6595 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.5078, allocations: 6.062 kB / 0.6595 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.5096, allocations: 2.574 MB / 0.662 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5096, allocations: 1.812 kB / 0.662 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.5099, allocations: 323.2 kB / 0.6623 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.51, allocations: 90.23 kB / 0.6624 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.51, allocations: 11.41 kB / 0.6624 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5101, allocations: 0 / 0.6624 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.5102, allocations: 16.98 kB / 0.6625 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5102, allocations: 2.344 kB / 0.6625 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.5103, allocations: 171.2 kB / 0.6626 GB, free: 456 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5103, allocations: 0 / 0.6626 GB, free: 456 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.000354/0.5107, allocations: 51 kB / 0.6627 GB, free: 440 kB / 478.1 MB 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.0006708/0.5114, allocations: 0.8988 MB / 0.6636 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.5118, allocations: 298.2 kB / 0.6638 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5118, allocations: 0 / 0.6638 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.512, allocations: 253.6 kB / 0.6641 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.5126, allocations: 52 kB / 0.6641 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.515, allocations: 2.264 MB / 0.6663 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5153, allocations: 0.7218 MB / 0.667 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.5154, allocations: 17.31 kB / 0.6671 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.5155, allocations: 46.89 kB / 0.6671 GB, free: 12.36 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5155, allocations: 0 / 0.6671 GB, free: 12.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.5309, allocations: 5.233 MB / 0.6722 GB, free: 9.809 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.5311, allocations: 225.4 kB / 0.6724 GB, free: 9.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.297, allocations: 7.938 kB / 0.6724 GB, free: 9.543 MB / 494.1 MB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_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_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches