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.008136/0.008136, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.00195/0.001949, allocations: 197.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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7215/0.7215, allocations: 91.19 MB / 381.7 MB, free: 9.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002862, allocations: 79.86 kB / 0.5164 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1703, allocations: 67.69 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.3959/0.5663, allocations: 47.34 MB / 0.6287 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.5831, allocations: 12.44 MB / 0.6409 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.5842, allocations: 19.12 kB / 0.6409 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.5853, allocations: 270.8 kB / 0.6411 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.5877, allocations: 0.5528 MB / 0.6417 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.5911, allocations: 0.7352 MB / 0.6424 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.5933, allocations: 0.9047 MB / 0.6433 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.5938, allocations: 169 kB / 0.6434 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04026/0.6341, allocations: 12.57 MB / 0.6557 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00076/0.6349, allocations: 395.8 kB / 0.6561 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.635, allocations: 52.25 kB / 0.6561 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1345/0.7695, allocations: 53 MB / 0.7079 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.7699, allocations: 147.4 kB / 0.708 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006664/0.7706, allocations: 318.3 kB / 0.7083 GB, free: 7.219 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.7741, allocations: 1.121 MB / 0.7094 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7741, allocations: 0 / 0.7094 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.716e-06/0.7741, allocations: 0 / 0.7094 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.7741, allocations: 0 / 0.7094 GB, free: 6.094 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.002592/0.7767, allocations: 1.082 MB / 0.7105 GB, free: 4.961 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.7768, allocations: 8.031 kB / 0.7105 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.7769, allocations: 89.27 kB / 0.7106 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.7771, allocations: 68.52 kB / 0.7106 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.7779, allocations: 0.5058 MB / 0.7111 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.778, allocations: 92.33 kB / 0.7112 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.7781, allocations: 55.83 kB / 0.7113 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.7793, allocations: 0.6614 MB / 0.7119 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7793, allocations: 0 / 0.7119 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.7794, allocations: 16 kB / 0.7119 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.7794, allocations: 28.97 kB / 0.712 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.7806, allocations: 0.6636 MB / 0.7126 GB, free: 2.695 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.7845, allocations: 2.448 MB / 0.715 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.7862, allocations: 0.7006 MB / 0.7157 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.787, allocations: 366.4 kB / 0.716 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002737/0.7897, allocations: 2.635 MB / 0.7186 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.7898, allocations: 43.06 kB / 0.7187 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 3.166e-06/0.7898, allocations: 4 kB / 0.7187 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65): time 0.00483/0.7946, allocations: 2.188 MB / 0.7208 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.7948, allocations: 119.4 kB / 0.7209 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.7953, allocations: 414 kB / 0.7213 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.7954, allocations: 33.7 kB / 0.7213 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.7956, allocations: 237 kB / 0.7216 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.7958, allocations: 234 kB / 0.7218 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.7959, allocations: 110.2 kB / 0.7219 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7961, allocations: 374.8 kB / 0.7222 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.7966, allocations: 257.1 kB / 0.7225 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.7972, allocations: 353.4 kB / 0.7228 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7983, allocations: 0.6181 MB / 0.7234 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7984, allocations: 0 / 0.7234 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001752/0.8001, allocations: 0.8544 MB / 0.7243 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.8002, allocations: 9.719 kB / 0.7243 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.007e-05/0.8002, allocations: 4 kB / 0.7243 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.8007, allocations: 128.8 kB / 0.7244 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.8013, allocations: 111.8 kB / 0.7245 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.8045, allocations: 2.477 MB / 0.7269 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.805, allocations: 31.95 kB / 0.727 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.8051, allocations: 23.98 kB / 0.727 GB, free: 2.914 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.0003515/0.8055, allocations: 190.4 kB / 0.7272 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.8057, allocations: 63.61 kB / 0.7272 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.8078, allocations: 1.065 MB / 0.7283 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.8078, allocations: 4 kB / 0.7283 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8078, allocations: 4 kB / 0.7283 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.8078, allocations: 8.484 kB / 0.7283 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.8109, allocations: 1.655 MB / 0.7299 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/0.8109, allocations: 4 kB / 0.7299 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.8115, allocations: 103.5 kB / 0.73 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.8119, allocations: 132.8 kB / 0.7301 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/0.812, allocations: 15.98 kB / 0.7301 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.815, allocations: 2.479 MB / 0.7326 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.815, allocations: 3.938 kB / 0.7326 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.8174, allocations: 1.29 MB / 0.7338 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/0.8178, allocations: 200.6 kB / 0.734 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8179, allocations: 12 kB / 0.734 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.8183, allocations: 19.98 kB / 0.734 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.8184, allocations: 44.5 kB / 0.7341 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.8185, allocations: 27.98 kB / 0.7341 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003857/0.8189, allocations: 326.9 kB / 0.7344 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8189, allocations: 0 / 0.7344 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001067/0.82, allocations: 287.4 kB / 0.7347 GB, free: 10.73 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.003072/0.823, allocations: 2.15 MB / 0.7368 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.8248, allocations: 0.896 MB / 0.7377 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8249, allocations: 4.062 kB / 0.7377 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.8259, allocations: 0.6024 MB / 0.7383 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.8271, allocations: 211.7 kB / 0.7385 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/0.8359, allocations: 5.936 MB / 0.7443 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.8364, allocations: 0.8994 MB / 0.7451 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004803/0.8369, allocations: 140.7 kB / 0.7453 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.8373, allocations: 223.3 kB / 0.7455 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.8373, allocations: 0 / 0.7455 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04805/0.8854, allocations: 20.58 MB / 0.7656 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.48, allocations: 2.5 kB / 0.7656 GB, free: 11.04 MB / 0.6075 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