Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor",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.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 197 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6489/0.6489, allocations: 91.2 MB / 381.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002928/0.002928, allocations: 80.16 kB / 460.4 MB, free: 23.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1411, allocations: 67.69 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.05198/0.1931, allocations: 47.34 MB / 0.562 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.206, allocations: 12.44 MB / 0.5741 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.2067, allocations: 19.88 kB / 0.5741 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007499/0.2075, allocations: 274.2 kB / 0.5744 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.2089, allocations: 0.5358 MB / 0.5749 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2111, allocations: 0.7392 MB / 0.5756 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.2121, allocations: 0.8947 MB / 0.5765 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003183/0.2125, allocations: 169.5 kB / 0.5767 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2642/0.4767, allocations: 12.54 MB / 0.5889 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.4774, allocations: 392.2 kB / 0.5893 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.4775, allocations: 52.97 kB / 0.5894 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1127/0.5902, allocations: 53.01 MB / 0.6411 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004016/0.5906, allocations: 149.7 kB / 0.6413 GB, free: 12.68 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.5911, allocations: 317.2 kB / 0.6416 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.5937, allocations: 1.097 MB / 0.6426 GB, free: 12.13 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5937, allocations: 0 / 0.6426 GB, free: 12.13 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.5937, allocations: 7.688 kB / 0.6426 GB, free: 12.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5938, allocations: 3.938 kB / 0.6426 GB, free: 12.12 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002195/0.596, allocations: 1.055 MB / 0.6437 GB, free: 11.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.596, allocations: 10.66 kB / 0.6437 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.773e-05/0.5961, allocations: 87.2 kB / 0.6438 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.5963, allocations: 66.75 kB / 0.6438 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.5969, allocations: 476.2 kB / 0.6443 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.012e-05/0.597, allocations: 92.25 kB / 0.6444 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.5971, allocations: 54.42 kB / 0.6444 GB, free: 10.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.5981, allocations: 0.6441 MB / 0.6451 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.5982, allocations: 0 / 0.6451 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.5982, allocations: 23.86 kB / 0.6451 GB, free: 10.31 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.5983, allocations: 26.98 kB / 0.6451 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5994, allocations: 0.6624 MB / 0.6458 GB, free: 9.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.6029, allocations: 2.458 MB / 0.6482 GB, free: 7.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.6045, allocations: 0.7068 MB / 0.6488 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.6051, allocations: 363.5 kB / 0.6492 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.6076, allocations: 2.639 MB / 0.6518 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6076, allocations: 46.5 kB / 0.6518 GB, free: 3.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.6076, allocations: 0 / 0.6518 GB, free: 3.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.004235/0.6119, allocations: 2.183 MB / 0.6539 GB, free: 1.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.6119, allocations: 63.95 kB / 0.654 GB, free: 1.223 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.6124, allocations: 417.3 kB / 0.6544 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.6124, allocations: 33.7 kB / 0.6544 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.6126, allocations: 232.9 kB / 0.6547 GB, free: 0.543 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.6128, allocations: 228 kB / 0.6549 GB, free: 328 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.613, allocations: 114.2 kB / 0.655 GB, free: 204 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6131, allocations: 370.8 kB / 0.6553 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.6137, allocations: 261.1 kB / 0.6556 GB, free: 15.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.6142, allocations: 331.7 kB / 0.6559 GB, free: 15.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6153, allocations: 0.6188 MB / 0.6565 GB, free: 14.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6153, allocations: 2.156 kB / 0.6565 GB, free: 14.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001572/0.6169, allocations: 0.8505 MB / 0.6573 GB, free: 13.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.617, allocations: 7.984 kB / 0.6573 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.617, allocations: 4 kB / 0.6573 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/0.6174, allocations: 132.9 kB / 0.6575 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.6179, allocations: 118.2 kB / 0.6576 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.6206, allocations: 2.47 MB / 0.66 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.621, allocations: 16 kB / 0.66 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.6211, allocations: 32.03 kB / 0.66 GB, free: 10.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002748/0.6213, allocations: 193.4 kB / 0.6602 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.6215, allocations: 60.52 kB / 0.6603 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.6234, allocations: 1.059 MB / 0.6613 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6235, allocations: 8 kB / 0.6613 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6235, allocations: 4 kB / 0.6613 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6235, allocations: 6.984 kB / 0.6613 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.6261, allocations: 1.649 MB / 0.6629 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.6261, allocations: 8.031 kB / 0.663 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004538/0.6266, allocations: 102.3 kB / 0.6631 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/0.627, allocations: 139.8 kB / 0.6632 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.627, allocations: 15.98 kB / 0.6632 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.6297, allocations: 2.474 MB / 0.6656 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.6297, allocations: 64 / 0.6656 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.6319, allocations: 1.291 MB / 0.6669 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.6322, allocations: 197.2 kB / 0.6671 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.6323, allocations: 19.84 kB / 0.6671 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.6327, allocations: 19.98 kB / 0.6671 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6328, allocations: 47.67 kB / 0.6672 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.6328, allocations: 23.98 kB / 0.6672 GB, free: 3.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003646/0.6332, allocations: 330.9 kB / 0.6675 GB, free: 3.062 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6332, allocations: 4 kB / 0.6675 GB, free: 3.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009454/0.6342, allocations: 284 kB / 0.6678 GB, free: 2.781 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003093/0.6373, allocations: 2.126 MB / 0.6698 GB, free: 0.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.6394, allocations: 0.9933 MB / 0.6708 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6394, allocations: 0 / 0.6708 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009995/0.6404, allocations: 0.6115 MB / 0.6714 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6414, allocations: 210.8 kB / 0.6716 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.6504, allocations: 6.049 MB / 0.6775 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.6509, allocations: 0.9033 MB / 0.6784 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005135/0.6514, allocations: 136.7 kB / 0.6785 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.6518, allocations: 227.3 kB / 0.6787 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.6518, allocations: 0 / 0.6787 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/0.6966, allocations: 20.3 MB / 0.6986 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.75, allocations: 3.938 kB / 0.6986 GB, free: 3.461 MB / 0.5137 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.csv --start-time 0 --stop-time 30 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches