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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.005694/0.005694, allocations: 97.17 kB / 15.73 MB, free: 6.055 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.001558/0.001558, allocations: 194.3 kB / 16.68 MB, free: 5.977 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6688/0.6688, allocations: 89.46 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 80.2 kB / 0.5139 GB, free: 11.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1472, allocations: 67.31 MB / 0.5796 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3112/0.4585, allocations: 47.25 MB / 0.6258 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.4733, allocations: 12.42 MB / 0.6379 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.4739, allocations: 9.438 kB / 0.6379 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007993/0.4747, allocations: 271.3 kB / 0.6382 GB, free: 7.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.4762, allocations: 0.5141 MB / 0.6387 GB, free: 6.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.4784, allocations: 0.7385 MB / 0.6394 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.4795, allocations: 0.8548 MB / 0.6402 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.4797, allocations: 166 kB / 0.6404 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03341/0.5132, allocations: 12.52 MB / 0.6526 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.5138, allocations: 384.9 kB / 0.653 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.34e-05/0.5139, allocations: 52.66 kB / 0.653 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1446/0.6585, allocations: 53.01 MB / 0.7048 GB, free: 12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.6588, allocations: 147.5 kB / 0.7049 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.6593, allocations: 290.6 kB / 0.7052 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.6615, allocations: 1.051 MB / 0.7062 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6615, allocations: 0 / 0.7062 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6615, allocations: 0 / 0.7062 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.6615, allocations: 0 / 0.7062 GB, free: 10.51 MB / 0.545 GB 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.00208/0.6636, allocations: 1.008 MB / 0.7072 GB, free: 9.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6637, allocations: 16.02 kB / 0.7072 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.6638, allocations: 82.72 kB / 0.7073 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.6639, allocations: 64.52 kB / 0.7074 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.6644, allocations: 403.9 kB / 0.7078 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.6646, allocations: 89.16 kB / 0.7079 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.184e-05/0.6647, allocations: 55.88 kB / 0.7079 GB, free: 8.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6658, allocations: 0.6536 MB / 0.7085 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.6658, allocations: 4 kB / 0.7085 GB, free: 8.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.6659, allocations: 19.98 kB / 0.7086 GB, free: 7.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.6659, allocations: 28.98 kB / 0.7086 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.6671, allocations: 0.6597 MB / 0.7092 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.6706, allocations: 2.429 MB / 0.7116 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.6722, allocations: 0.6946 MB / 0.7123 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.6728, allocations: 374.3 kB / 0.7126 GB, free: 3.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002658/0.6755, allocations: 2.635 MB / 0.7152 GB, free: 464 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.6756, allocations: 39.12 kB / 0.7153 GB, free: 416 kB / 0.545 GB Notification: Performance of pre-optimization done (n=63): time 2.324e-06/0.6756, allocations: 0 / 0.7153 GB, free: 416 kB / 0.545 GB Notification: Performance of matching and sorting (n=65): time 0.004323/0.6799, allocations: 2.176 MB / 0.7174 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.68, allocations: 119.2 kB / 0.7175 GB, free: 14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.6804, allocations: 349.7 kB / 0.7178 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.6805, allocations: 37.7 kB / 0.7179 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.6807, allocations: 205.1 kB / 0.7181 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.6809, allocations: 234 kB / 0.7183 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.6811, allocations: 110.2 kB / 0.7184 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6813, allocations: 358.8 kB / 0.7187 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.6818, allocations: 257.1 kB / 0.719 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.6824, allocations: 349.4 kB / 0.7193 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.6836, allocations: 0.6251 MB / 0.7199 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6836, allocations: 0 / 0.7199 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001752/0.6853, allocations: 0.8467 MB / 0.7207 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.6854, allocations: 4 kB / 0.7207 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/0.6854, allocations: 7.984 kB / 0.7208 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.6859, allocations: 128.8 kB / 0.7209 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.6864, allocations: 115.8 kB / 0.721 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.6894, allocations: 2.473 MB / 0.7234 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.6898, allocations: 20.02 kB / 0.7234 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/0.6898, allocations: 31.91 kB / 0.7235 GB, free: 7.668 MB / 0.5606 GB 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.0002936/0.6901, allocations: 194.2 kB / 0.7236 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.6902, allocations: 51.67 kB / 0.7237 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.6923, allocations: 1.051 MB / 0.7247 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6923, allocations: 4 kB / 0.7247 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6923, allocations: 4 kB / 0.7247 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6923, allocations: 3.984 kB / 0.7247 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.6951, allocations: 1.64 MB / 0.7263 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.6951, allocations: 4 kB / 0.7263 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.6955, allocations: 95.86 kB / 0.7264 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.696, allocations: 133.6 kB / 0.7266 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.696, allocations: 27.91 kB / 0.7266 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.6989, allocations: 2.482 MB / 0.729 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6989, allocations: 4.031 kB / 0.729 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.7011, allocations: 1.282 MB / 0.7303 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.7014, allocations: 184.7 kB / 0.7304 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.7015, allocations: 19.94 kB / 0.7305 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.7018, allocations: 19.98 kB / 0.7305 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.7019, allocations: 44.44 kB / 0.7305 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.7019, allocations: 23.98 kB / 0.7305 GB, free: 148 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003305/0.7023, allocations: 283.1 kB / 0.7308 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7023, allocations: 0 / 0.7308 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00085/0.7031, allocations: 291.4 kB / 0.7311 GB, free: 15.58 MB / 0.5762 GB 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.00308/0.7062, allocations: 2.123 MB / 0.7332 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7079, allocations: 0.9152 MB / 0.7341 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7079, allocations: 0 / 0.7341 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.7091, allocations: 0.6066 MB / 0.7346 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7102, allocations: 200.8 kB / 0.7348 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.7188, allocations: 5.644 MB / 0.7403 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.7194, allocations: 0.8759 MB / 0.7412 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004145/0.7198, allocations: 120.3 kB / 0.7413 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.7201, allocations: 199.3 kB / 0.7415 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.7201, allocations: 0 / 0.7415 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05058/0.7707, allocations: 19.7 MB / 0.7607 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.45, allocations: 11.95 kB / 0.7608 GB, free: 1.137 MB / 0.5919 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