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.001593/0.001593, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001993/0.001993, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6529/0.6529, allocations: 91.2 MB / 381.3 MB, free: 9.531 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 78.19 kB / 459.9 MB, free: 23.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1004, allocations: 67.69 MB / 0.5152 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3558/0.4562, allocations: 138.8 MB / 0.6508 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.4595, allocations: 3.335 MB / 0.6541 GB, free: 8.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.4598, allocations: 18.16 kB / 0.6541 GB, free: 8.516 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.4603, allocations: 115.3 kB / 0.6542 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000362/0.4606, allocations: 158.9 kB / 0.6543 GB, free: 8.297 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.461, allocations: 186.8 kB / 0.6545 GB, free: 8.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.4614, allocations: 346.2 kB / 0.6548 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4615, allocations: 63.75 kB / 0.6549 GB, free: 7.918 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.4619, allocations: 191.9 kB / 0.6551 GB, free: 7.801 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.4621, allocations: 124.1 kB / 0.6552 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.4621, allocations: 14.69 kB / 0.6552 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.4625, allocations: 262.3 kB / 0.6555 GB, free: 7.605 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.288e-05/0.4626, allocations: 41.38 kB / 0.6555 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.4627, allocations: 105.9 kB / 0.6556 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.4631, allocations: 296.9 kB / 0.6559 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4631, allocations: 1.125 kB / 0.6559 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4631, allocations: 0 / 0.6559 GB, free: 7.32 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.4631, allocations: 0 / 0.6559 GB, free: 7.32 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.0006782/0.4638, allocations: 0.5553 MB / 0.6564 GB, free: 6.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4638, allocations: 12.14 kB / 0.6564 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.4639, allocations: 43.06 kB / 0.6565 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.4639, allocations: 30.69 kB / 0.6565 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.4643, allocations: 329.3 kB / 0.6568 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4643, allocations: 9.859 kB / 0.6568 GB, free: 6.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.4644, allocations: 13.03 kB / 0.6569 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.4646, allocations: 154 kB / 0.657 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4646, allocations: 0 / 0.657 GB, free: 6.293 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4646, allocations: 5.562 kB / 0.657 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4646, allocations: 3.281 kB / 0.657 GB, free: 6.289 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.4648, allocations: 71.5 kB / 0.6571 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007591/0.4655, allocations: 0.7421 MB / 0.6578 GB, free: 5.543 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4657, allocations: 76.39 kB / 0.6579 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.4657, allocations: 47.86 kB / 0.6579 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.4659, allocations: 159.5 kB / 0.6581 GB, free: 5.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4659, allocations: 32.28 kB / 0.6581 GB, free: 5.211 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.4659, allocations: 0 / 0.6581 GB, free: 5.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006703/0.4666, allocations: 336.7 kB / 0.6584 GB, free: 4.902 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.4666, allocations: 78.39 kB / 0.6585 GB, free: 4.809 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.4669, allocations: 320.7 kB / 0.6588 GB, free: 4.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.467, allocations: 25.7 kB / 0.6588 GB, free: 4.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.4671, allocations: 160.7 kB / 0.659 GB, free: 4.422 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4671, allocations: 32.2 kB / 0.659 GB, free: 4.395 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.4672, allocations: 18.88 kB / 0.659 GB, free: 4.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4673, allocations: 350.5 kB / 0.6594 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.4673, allocations: 18.12 kB / 0.6594 GB, free: 4.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.4674, allocations: 47.61 kB / 0.6594 GB, free: 3.977 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4675, allocations: 72.92 kB / 0.6595 GB, free: 3.918 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4675, allocations: 10.34 kB / 0.6595 GB, free: 3.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002484/0.4677, allocations: 156.9 kB / 0.6597 GB, free: 3.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.4678, allocations: 8.656 kB / 0.6597 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4678, allocations: 10.61 kB / 0.6597 GB, free: 3.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.468, allocations: 37.42 kB / 0.6597 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.4681, allocations: 18.08 kB / 0.6597 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.4698, allocations: 2.749 MB / 0.6624 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.4699, allocations: 17.09 kB / 0.6624 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4699, allocations: 2.719 kB / 0.6624 GB, free: 0.8711 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 0.0001213/0.47, allocations: 137 kB / 0.6626 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.4701, allocations: 32.38 kB / 0.6626 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.4704, allocations: 153.5 kB / 0.6627 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4704, allocations: 4.078 kB / 0.6627 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4704, allocations: 3.125 kB / 0.6627 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4704, allocations: 0 / 0.6627 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.4709, allocations: 0.5343 MB / 0.6633 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.471, allocations: 0 / 0.6633 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.471, allocations: 2.25 kB / 0.6633 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.4711, allocations: 43.09 kB / 0.6633 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4711, allocations: 2.906 kB / 0.6633 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.4729, allocations: 2.757 MB / 0.666 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4729, allocations: 0 / 0.666 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.4732, allocations: 342.4 kB / 0.6663 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.4733, allocations: 99.66 kB / 0.6664 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4733, allocations: 2.719 kB / 0.6664 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4734, allocations: 11.06 kB / 0.6664 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.4735, allocations: 10.39 kB / 0.6665 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.4735, allocations: 2.469 kB / 0.6665 GB, free: 12.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.4737, allocations: 230.7 kB / 0.6667 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.4737, allocations: 2.562 kB / 0.6667 GB, free: 12.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.4741, allocations: 61.48 kB / 0.6667 GB, free: 12.54 MB / 494.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.0006527/0.4747, allocations: 0.9183 MB / 0.6676 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.4751, allocations: 282 kB / 0.6679 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4752, allocations: 0 / 0.6679 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.4754, allocations: 261.5 kB / 0.6682 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.4761, allocations: 72.62 kB / 0.6682 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.4789, allocations: 2.662 MB / 0.6708 GB, free: 9.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.4792, allocations: 0.7479 MB / 0.6715 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.729e-05/0.4793, allocations: 33.95 kB / 0.6716 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.4794, allocations: 79.72 kB / 0.6717 GB, free: 8.188 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4794, allocations: 0 / 0.6717 GB, free: 8.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.424/0.9034, allocations: 6.463 MB / 0.678 GB, free: 5.07 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.9037, allocations: 224.3 kB / 0.6782 GB, free: 4.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.877, allocations: 0 / 0.6782 GB, free: 4.812 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