Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.01137/0.01137, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001897/0.001898, allocations: 192 kB / 16.67 MB, free: 5.973 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.853/1.853, allocations: 222.9 MB / 240.4 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 1.161/1.161, allocations: 93.69 MB / 384.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002505/0.002506, allocations: 79.88 kB / 0.52 GB, free: 1.105 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6827/0.6852, allocations: 68.25 MB / 0.5866 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.2481/0.9334, allocations: 146.9 MB / 0.73 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00572/0.9392, allocations: 3.155 MB / 0.7331 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009312/0.9402, allocations: 27.81 kB / 0.7331 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.9415, allocations: 234.4 kB / 0.7334 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.9428, allocations: 369.7 kB / 0.7337 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.9445, allocations: 450.3 kB / 0.7342 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00106/0.9456, allocations: 0.6807 MB / 0.7348 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.9459, allocations: 137.1 kB / 0.735 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.9475, allocations: 0.49 MB / 0.7354 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005794/0.9481, allocations: 286.7 kB / 0.7357 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.111e-05/0.9482, allocations: 28 kB / 0.7357 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.9498, allocations: 0.5458 MB / 0.7363 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.95, allocations: 71.64 kB / 0.7363 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.9503, allocations: 210.7 kB / 0.7365 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.7418/1.692, allocations: 0.6983 MB / 0.7372 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/1.692, allocations: 1 kB / 0.7372 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.678e-06/1.692, allocations: 0 / 0.7372 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.826e-05/1.692, allocations: 0.5 kB / 0.7372 GB, free: 3.203 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0031/1.695, allocations: 0.8003 MB / 0.738 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.406e-05/1.696, allocations: 10.22 kB / 0.738 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/1.696, allocations: 64.34 kB / 0.7381 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/1.696, allocations: 60.27 kB / 0.7381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/1.698, allocations: 476.3 kB / 0.7386 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/1.698, allocations: 19.89 kB / 0.7386 GB, free: 18.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.698, allocations: 31.69 kB / 0.7386 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/1.699, allocations: 324.6 kB / 0.7389 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/1.699, allocations: 4.031 kB / 0.7389 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/1.699, allocations: 11.41 kB / 0.739 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/1.699, allocations: 8.188 kB / 0.739 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/1.7, allocations: 198.2 kB / 0.7391 GB, free: 18.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/1.703, allocations: 1.771 MB / 0.7409 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/1.704, allocations: 173.2 kB / 0.741 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/1.704, allocations: 73.98 kB / 0.7411 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.705, allocations: 0.5218 MB / 0.7416 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.705, allocations: 42.95 kB / 0.7417 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/1.705, allocations: 0 / 0.7417 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001182/1.706, allocations: 363.2 kB / 0.742 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/1.706, allocations: 109.5 kB / 0.7421 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/1.707, allocations: 436.9 kB / 0.7425 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/1.707, allocations: 31.14 kB / 0.7426 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/1.707, allocations: 245.7 kB / 0.7428 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/1.707, allocations: 62.09 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.708, allocations: 40.98 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002592/1.708, allocations: 359.9 kB / 0.7432 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/1.708, allocations: 57.33 kB / 0.7433 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/1.708, allocations: 104.1 kB / 0.7434 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/1.709, allocations: 179.3 kB / 0.7436 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.709, allocations: 4.75 kB / 0.7436 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000852/1.71, allocations: 268.5 kB / 0.7438 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/1.71, allocations: 10.72 kB / 0.7438 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.71, allocations: 2.062 kB / 0.7438 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/1.71, allocations: 26.53 kB / 0.7439 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/1.71, allocations: 48.42 kB / 0.7439 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/1.712, allocations: 1.394 MB / 0.7453 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/1.712, allocations: 28.03 kB / 0.7453 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/1.712, allocations: 15.92 kB / 0.7453 GB, free: 13.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003199/1.713, allocations: 156.6 kB / 0.7455 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/1.713, allocations: 51.16 kB / 0.7455 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/1.714, allocations: 263 kB / 0.7458 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.714, allocations: 3.594 kB / 0.7458 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.714, allocations: 1.406 kB / 0.7458 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.714, allocations: 5.094 kB / 0.7458 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/1.715, allocations: 357.1 kB / 0.7461 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.715, allocations: 2.812 kB / 0.7461 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.715, allocations: 34.52 kB / 0.7461 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/1.715, allocations: 23.97 kB / 0.7462 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.715, allocations: 9.016 kB / 0.7462 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/1.716, allocations: 1.381 MB / 0.7475 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.716, allocations: 4.688 kB / 0.7475 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/1.717, allocations: 453.4 kB / 0.748 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/1.718, allocations: 119.7 kB / 0.7481 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/1.718, allocations: 11.78 kB / 0.7481 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/1.718, allocations: 9.375 kB / 0.7481 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.718, allocations: 20.02 kB / 0.7481 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/1.718, allocations: 7.047 kB / 0.7481 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007377/1.719, allocations: 309.7 kB / 0.7484 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/1.719, allocations: 0.9688 kB / 0.7484 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008606/1.72, allocations: 99.02 kB / 0.7485 GB, free: 11.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002166/1.722, allocations: 1.081 MB / 0.7496 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.723, allocations: 274.9 kB / 0.7498 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.723, allocations: 1.062 kB / 0.7498 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/1.723, allocations: 197.9 kB / 0.75 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/1.724, allocations: 105.4 kB / 0.7501 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/1.731, allocations: 3.562 MB / 0.7536 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/1.732, allocations: 0.8121 MB / 0.7544 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003484/1.732, allocations: 58.48 kB / 0.7544 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.732, allocations: 153.2 kB / 0.7546 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of SimCode: time 2.215e-06/1.732, allocations: 0 / 0.7546 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/1.789, allocations: 10.19 MB / 0.7645 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/17.75, allocations: 6.25 kB / 0.7645 GB, free: 7.059 MB / 0.5919 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches