Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Compressor,fileNamePrefix="ThermofluidStream_dev_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.006157/0.006157, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001409/0.001409, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8456/0.8456, allocations: 93.7 MB / 384.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 76.2 kB / 0.5199 GB, free: 1.113 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3609, allocations: 68.26 MB / 0.5866 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.06417/0.4251, allocations: 47.37 MB / 0.6329 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.4441, allocations: 12.45 MB / 0.645 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009722/0.4451, allocations: 19.88 kB / 0.645 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.4462, allocations: 282.1 kB / 0.6453 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.4484, allocations: 0.5397 MB / 0.6458 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.4513, allocations: 0.7431 MB / 0.6466 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.4531, allocations: 0.9298 MB / 0.6475 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005849/0.4537, allocations: 161.5 kB / 0.6476 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03924/0.493, allocations: 12.56 MB / 0.6599 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.4938, allocations: 394.4 kB / 0.6603 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.494, allocations: 55.94 kB / 0.6603 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1423/0.6363, allocations: 53 MB / 0.7121 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.6367, allocations: 147.4 kB / 0.7122 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.6373, allocations: 326.3 kB / 0.7125 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.6405, allocations: 1.125 MB / 0.7136 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.579e-05/0.6406, allocations: 3.938 kB / 0.7136 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.329e-06/0.6406, allocations: 0 / 0.7136 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.264e-05/0.6407, allocations: 0 / 0.7136 GB, free: 7.32 MB / 0.5606 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.002841/0.6435, allocations: 1.086 MB / 0.7147 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6436, allocations: 12.03 kB / 0.7147 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.6437, allocations: 86.7 kB / 0.7148 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.6439, allocations: 68.52 kB / 0.7149 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009998/0.6449, allocations: 0.5173 MB / 0.7154 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.6451, allocations: 88.34 kB / 0.7154 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6452, allocations: 51.97 kB / 0.7155 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6465, allocations: 0.6537 MB / 0.7161 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.6465, allocations: 4 kB / 0.7161 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.6466, allocations: 16 kB / 0.7162 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.6467, allocations: 28.92 kB / 0.7162 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.6481, allocations: 0.6597 MB / 0.7168 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/0.6529, allocations: 2.459 MB / 0.7192 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.6547, allocations: 0.6968 MB / 0.7199 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000734/0.6555, allocations: 362.4 kB / 0.7203 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.6586, allocations: 2.635 MB / 0.7228 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.6586, allocations: 43.06 kB / 0.7229 GB, free: 13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 3.055e-06/0.6587, allocations: 0 / 0.7229 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.005715/0.6644, allocations: 2.207 MB / 0.725 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.6645, allocations: 111.4 kB / 0.7251 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.6652, allocations: 426.1 kB / 0.7255 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.6654, allocations: 37.7 kB / 0.7256 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.6656, allocations: 249 kB / 0.7258 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.6659, allocations: 234 kB / 0.726 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004157/0.6663, allocations: 114.2 kB / 0.7261 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.6665, allocations: 370.8 kB / 0.7265 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.6671, allocations: 257.1 kB / 0.7267 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.6678, allocations: 345.5 kB / 0.7271 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.6693, allocations: 0.6251 MB / 0.7277 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6693, allocations: 0 / 0.7277 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002124/0.6714, allocations: 0.8428 MB / 0.7285 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.6715, allocations: 8 kB / 0.7285 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.6715, allocations: 7.938 kB / 0.7285 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.672, allocations: 140.8 kB / 0.7286 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.6726, allocations: 111.8 kB / 0.7288 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/0.6764, allocations: 2.464 MB / 0.7312 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.6769, allocations: 31.95 kB / 0.7312 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.6771, allocations: 23.98 kB / 0.7312 GB, free: 4.094 MB / 0.5762 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.0004086/0.6775, allocations: 193.6 kB / 0.7314 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6777, allocations: 63.64 kB / 0.7315 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.6801, allocations: 1.056 MB / 0.7325 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6801, allocations: 4 kB / 0.7325 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.6801, allocations: 4 kB / 0.7325 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.433e-05/0.6802, allocations: 7.984 kB / 0.7325 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.6838, allocations: 1.663 MB / 0.7341 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/0.6838, allocations: 4 kB / 0.7341 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.6844, allocations: 95.81 kB / 0.7342 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.6849, allocations: 137.7 kB / 0.7344 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.685, allocations: 27.97 kB / 0.7344 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2988/0.9838, allocations: 2.465 MB / 0.7368 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/0.9839, allocations: 5.297 kB / 0.7368 GB, free: 147 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.9871, allocations: 1.297 MB / 0.7381 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.9876, allocations: 191.5 kB / 0.7382 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.782e-05/0.9877, allocations: 15.66 kB / 0.7383 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.988, allocations: 19.7 kB / 0.7383 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.9882, allocations: 51.19 kB / 0.7383 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.9883, allocations: 26.3 kB / 0.7384 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004623/0.9887, allocations: 329.4 kB / 0.7387 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9887, allocations: 0 / 0.7387 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001317/0.9901, allocations: 296.7 kB / 0.739 GB, free: 146.1 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.003902/0.994, allocations: 2.146 MB / 0.741 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.9964, allocations: 0.9062 MB / 0.7419 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9964, allocations: 3.438 kB / 0.7419 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.9977, allocations: 0.6058 MB / 0.7425 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.9991, allocations: 201.1 kB / 0.7427 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/1.009, allocations: 5.974 MB / 0.7486 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.009, allocations: 0.8991 MB / 0.7494 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005724/1.01, allocations: 143 kB / 0.7496 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.01, allocations: 229.2 kB / 0.7498 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/1.01, allocations: 0 / 0.7498 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08191/1.092, allocations: 20.71 MB / 0.77 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.51, allocations: 8.766 kB / 0.77 GB, free: 120.2 MB / 0.5762 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Compressor.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches