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.001619/0.001619, 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.001881/0.001881, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6683/0.6683, allocations: 91.2 MB / 381.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 85.58 kB / 460.4 MB, free: 23.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1527, allocations: 67.7 MB / 0.5157 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06328/0.216, allocations: 47.34 MB / 0.562 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.2312, allocations: 12.43 MB / 0.5741 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.2321, allocations: 23.81 kB / 0.5741 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.2332, allocations: 282.2 kB / 0.5744 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.2356, allocations: 0.5319 MB / 0.5749 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.2384, allocations: 0.7431 MB / 0.5756 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.2399, allocations: 0.8909 MB / 0.5765 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2403, allocations: 173.4 kB / 0.5767 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2201/0.4604, allocations: 12.54 MB / 0.5889 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.461, allocations: 393.1 kB / 0.5893 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.4612, allocations: 56.44 kB / 0.5893 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09952/0.5607, allocations: 53 MB / 0.6411 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.5611, allocations: 152 kB / 0.6412 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.5615, allocations: 321 kB / 0.6416 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.5632, allocations: 1.101 MB / 0.6426 GB, free: 12.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5632, allocations: 0 / 0.6426 GB, free: 12.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5632, allocations: 0 / 0.6426 GB, free: 12.12 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.5632, 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.001844/0.5651, allocations: 1.056 MB / 0.6437 GB, free: 11.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.5651, allocations: 7.531 kB / 0.6437 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.5652, allocations: 90.27 kB / 0.6438 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.5653, allocations: 69.88 kB / 0.6438 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.5659, allocations: 476.2 kB / 0.6443 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.566, allocations: 91.34 kB / 0.6444 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5661, allocations: 50.98 kB / 0.6444 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/0.5671, allocations: 0.6538 MB / 0.6451 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5671, allocations: 0 / 0.6451 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.5672, allocations: 18.55 kB / 0.6451 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.5672, allocations: 28.06 kB / 0.6451 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/0.5682, allocations: 0.6611 MB / 0.6457 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.5714, allocations: 2.466 MB / 0.6482 GB, free: 7.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.5729, allocations: 0.695 MB / 0.6488 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.5734, allocations: 363.5 kB / 0.6492 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.5757, allocations: 2.642 MB / 0.6518 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5758, allocations: 37.75 kB / 0.6518 GB, free: 3.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 2.104e-06/0.5758, allocations: 0 / 0.6518 GB, free: 3.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.003764/0.5796, allocations: 2.195 MB / 0.6539 GB, free: 1.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.5796, allocations: 59.97 kB / 0.654 GB, free: 1.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.58, allocations: 414 kB / 0.6544 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.58, allocations: 37.7 kB / 0.6544 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5802, allocations: 228.9 kB / 0.6546 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5803, allocations: 229 kB / 0.6549 GB, free: 376 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.5805, allocations: 114.2 kB / 0.655 GB, free: 256 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5806, allocations: 370.8 kB / 0.6553 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.5811, allocations: 265.1 kB / 0.6556 GB, free: 15.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.5816, allocations: 330.9 kB / 0.6559 GB, free: 15.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.5827, allocations: 0.6125 MB / 0.6565 GB, free: 14.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5827, allocations: 0 / 0.6565 GB, free: 14.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001461/0.5841, allocations: 0.8547 MB / 0.6573 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5842, allocations: 6.5 kB / 0.6573 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5842, allocations: 8 kB / 0.6573 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.5846, allocations: 136.8 kB / 0.6575 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.585, allocations: 110.9 kB / 0.6576 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5875, allocations: 2.475 MB / 0.66 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.5878, allocations: 24.05 kB / 0.66 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.5878, allocations: 23.98 kB / 0.66 GB, free: 10.91 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.0002109/0.5881, allocations: 194.8 kB / 0.6602 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5882, allocations: 56.38 kB / 0.6603 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.59, allocations: 1.064 MB / 0.6613 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.59, allocations: 4 kB / 0.6613 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.59, allocations: 4 kB / 0.6613 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.59, allocations: 3.984 kB / 0.6613 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.5924, allocations: 1.655 MB / 0.6629 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.208e-06/0.5925, allocations: 4 kB / 0.6629 GB, free: 7.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.5929, allocations: 102.4 kB / 0.663 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.5933, allocations: 139.1 kB / 0.6632 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.5933, allocations: 23.98 kB / 0.6632 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002313/0.5956, allocations: 2.475 MB / 0.6656 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5957, allocations: 0 / 0.6656 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.5976, allocations: 1.29 MB / 0.6669 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.5978, allocations: 192.3 kB / 0.6671 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.848e-05/0.5979, allocations: 23.56 kB / 0.6671 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.5983, allocations: 17.8 kB / 0.6671 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.5983, allocations: 55.53 kB / 0.6672 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.5984, allocations: 23.98 kB / 0.6672 GB, free: 3.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.5987, allocations: 326.9 kB / 0.6675 GB, free: 3.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5987, allocations: 0 / 0.6675 GB, free: 3.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007443/0.5995, allocations: 288 kB / 0.6678 GB, free: 2.832 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.002648/0.6021, allocations: 2.124 MB / 0.6698 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.6038, allocations: 0.9939 MB / 0.6708 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6039, allocations: 0 / 0.6708 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.6048, allocations: 0.6075 MB / 0.6714 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.6057, allocations: 199 kB / 0.6716 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007803/0.6135, allocations: 6.056 MB / 0.6775 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.614, allocations: 0.9072 MB / 0.6784 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004154/0.6144, allocations: 136.7 kB / 0.6785 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.6147, allocations: 223.3 kB / 0.6787 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.6147, allocations: 0 / 0.6787 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.917/5.532, allocations: 20.3 MB / 0.6986 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/19.93, allocations: 6.438 kB / 0.6986 GB, free: 3.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/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