Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007846/0.0007847, allocations: 179.7 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205 MB / 221.2 MB, free: 1.848 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006509/0.000651, allocations: 102.3 kB / 269.2 MB, free: 1.801 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.477/0.477, allocations: 90.52 MB / 407.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002708, allocations: 12 kB / 484.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.09471, allocations: 65.81 MB / 0.5372 GB, free: 1.613 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2312/0.326, allocations: 48.67 MB / 0.5847 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.3396, allocations: 12.39 MB / 0.5968 GB, free: 6.074 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004884/0.3402, allocations: 10.59 kB / 0.5968 GB, free: 6.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007152/0.3409, allocations: 239.1 kB / 0.5971 GB, free: 5.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.3423, allocations: 484.6 kB / 0.5975 GB, free: 5.496 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.3442, allocations: 0.6495 MB / 0.5982 GB, free: 4.992 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3453, allocations: 1.088 MB / 0.5992 GB, free: 4.391 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.3456, allocations: 145.2 kB / 0.5994 GB, free: 4.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02544/0.371, allocations: 11.45 MB / 0.6105 GB, free: 12.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.3715, allocations: 367 kB / 0.6109 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.3716, allocations: 26.62 kB / 0.6109 GB, free: 12.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08924/0.4608, allocations: 52.82 MB / 0.6625 GB, free: 7.059 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4611, allocations: 119.5 kB / 0.6626 GB, free: 6.941 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.4614, allocations: 266.6 kB / 0.6629 GB, free: 6.68 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.463, allocations: 1.032 MB / 0.6639 GB, free: 5.645 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.463, allocations: 0 / 0.6639 GB, free: 5.645 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.463, allocations: 0 / 0.6639 GB, free: 5.645 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4631, allocations: 0 / 0.6639 GB, free: 5.645 MB / 474.7 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.001619/0.4647, allocations: 0.905 MB / 0.6648 GB, free: 4.691 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.4647, allocations: 12.03 kB / 0.6648 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.102e-05/0.4648, allocations: 82.7 kB / 0.6649 GB, free: 4.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.4649, allocations: 68.12 kB / 0.6649 GB, free: 4.523 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.4654, allocations: 383.8 kB / 0.6653 GB, free: 4.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/0.4655, allocations: 93.14 kB / 0.6654 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.4656, allocations: 63.77 kB / 0.6654 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.4665, allocations: 0.6472 MB / 0.6661 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4665, allocations: 0 / 0.6661 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.4666, allocations: 20 kB / 0.6661 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.4666, allocations: 28.92 kB / 0.6661 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.4676, allocations: 0.6753 MB / 0.6668 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.4709, allocations: 2.756 MB / 0.6695 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.4723, allocations: 0.7825 MB / 0.6702 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.4729, allocations: 414.3 kB / 0.6706 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002351/0.4753, allocations: 2.639 MB / 0.6732 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.4753, allocations: 47.12 kB / 0.6732 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=65): time 2.976e-06/0.4753, allocations: 0 / 0.6732 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=67): time 0.003792/0.4791, allocations: 2.378 MB / 0.6756 GB, free: 8.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4792, allocations: 55.97 kB / 0.6756 GB, free: 8.586 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.4795, allocations: 309.7 kB / 0.6759 GB, free: 8.277 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.4795, allocations: 41.7 kB / 0.676 GB, free: 8.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4796, allocations: 205.3 kB / 0.6762 GB, free: 8.027 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.4798, allocations: 228.6 kB / 0.6764 GB, free: 7.801 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.4798, allocations: 12 kB / 0.6764 GB, free: 7.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4799, allocations: 358.8 kB / 0.6767 GB, free: 7.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.4804, allocations: 301 kB / 0.677 GB, free: 7.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005069/0.4809, allocations: 369.9 kB / 0.6774 GB, free: 6.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.482, allocations: 0.686 MB / 0.678 GB, free: 6.059 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.482, allocations: 0 / 0.678 GB, free: 6.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001454/0.4835, allocations: 0.9206 MB / 0.6789 GB, free: 5.125 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4835, allocations: 4 kB / 0.6789 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.4835, allocations: 4 kB / 0.6789 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/0.4839, allocations: 132.8 kB / 0.6791 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.4843, allocations: 111.9 kB / 0.6792 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4865, allocations: 2.263 MB / 0.6814 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.4868, allocations: 28.05 kB / 0.6814 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.4869, allocations: 27.98 kB / 0.6814 GB, free: 2.426 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.000216/0.4871, allocations: 177.8 kB / 0.6816 GB, free: 2.242 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4872, allocations: 55.36 kB / 0.6817 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.489, allocations: 1.077 MB / 0.6827 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.489, allocations: 7.938 kB / 0.6827 GB, free: 1.086 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.489, allocations: 4 kB / 0.6827 GB, free: 1.082 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.489, allocations: 7.984 kB / 0.6827 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.4917, allocations: 1.876 MB / 0.6846 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.4917, allocations: 0 / 0.6846 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.4922, allocations: 123.8 kB / 0.6847 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/0.4925, allocations: 136.7 kB / 0.6848 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.4926, allocations: 27.92 kB / 0.6848 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.4947, allocations: 2.241 MB / 0.687 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4947, allocations: 8.031 kB / 0.687 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.4968, allocations: 1.531 MB / 0.6885 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.4971, allocations: 204.4 kB / 0.6887 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/0.4971, allocations: 16 kB / 0.6887 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.4975, allocations: 31.97 kB / 0.6888 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.4976, allocations: 56.58 kB / 0.6888 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.4976, allocations: 27.98 kB / 0.6889 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001744/0.4978, allocations: 215.2 kB / 0.6891 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4978, allocations: 0 / 0.6891 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007196/0.4985, allocations: 295.8 kB / 0.6893 GB, free: 10.07 MB / 0.4948 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 (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.002939/0.5015, allocations: 2.358 MB / 0.6916 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.5031, allocations: 1.036 MB / 0.6927 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5031, allocations: 0 / 0.6927 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.504, allocations: 0.714 MB / 0.6933 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.5048, allocations: 150.5 kB / 0.6935 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.5117, allocations: 5.826 MB / 0.6992 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.5121, allocations: 0.8876 MB / 0.7 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00037/0.5124, allocations: 140.1 kB / 0.7002 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5127, allocations: 203.3 kB / 0.7004 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.5127, allocations: 0 / 0.7004 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4318/0.9445, allocations: 18.33 MB / 0.7183 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.9447, allocations: 233.2 kB / 0.7185 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.572, allocations: 0 / 0.7185 GB, free: 12.05 MB / 0.5261 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Compressor_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches