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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001204/0.001204, allocations: 193.8 kB / 16.14 MB, free: 6.703 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5919/0.5919, allocations: 89.51 MB / 379.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 87.12 kB / 457.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08809/0.08948, allocations: 67.31 MB / 0.5127 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04264/0.1321, allocations: 49.54 MB / 0.561 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1426, allocations: 12.6 MB / 0.5734 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.1429, allocations: 8 kB / 0.5734 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.1435, allocations: 234.7 kB / 0.5736 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008914/0.1444, allocations: 489.3 kB / 0.5741 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1457, allocations: 0.6605 MB / 0.5747 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.1464, allocations: 1.051 MB / 0.5757 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1466, allocations: 156.9 kB / 0.5759 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0232/0.1698, allocations: 11.45 MB / 0.5871 GB, free: 376 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1789/0.3488, allocations: 375.2 kB / 0.5874 GB, free: 17.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.349, allocations: 34.34 kB / 0.5874 GB, free: 17.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09439/0.4434, allocations: 52.82 MB / 0.639 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.4437, allocations: 126 kB / 0.6392 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.444, allocations: 284.7 kB / 0.6394 GB, free: 14.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.4454, allocations: 1.024 MB / 0.6404 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4454, allocations: 0 / 0.6404 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.4454, allocations: 0 / 0.6404 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4454, allocations: 2.531 kB / 0.6404 GB, free: 14.55 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.001734/0.4472, allocations: 0.9927 MB / 0.6414 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4472, allocations: 10.47 kB / 0.6414 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.751e-05/0.4473, allocations: 85.78 kB / 0.6415 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4474, allocations: 60 kB / 0.6415 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.4478, allocations: 395.1 kB / 0.6419 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.4479, allocations: 90.33 kB / 0.642 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.448, allocations: 54.84 kB / 0.6421 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/0.4489, allocations: 0.6411 MB / 0.6427 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.4489, allocations: 3.656 kB / 0.6427 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.449, allocations: 24.3 kB / 0.6427 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.449, allocations: 26.7 kB / 0.6427 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.45, allocations: 0.6634 MB / 0.6434 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/0.4529, allocations: 2.437 MB / 0.6458 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.4543, allocations: 0.6847 MB / 0.6464 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.4549, allocations: 373.7 kB / 0.6468 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/0.4571, allocations: 2.629 MB / 0.6494 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.4571, allocations: 43.11 kB / 0.6494 GB, free: 7.484 MB / 478.1 MB Notification: Performance of pre-optimization done (n=63): time 1.894e-06/0.4572, allocations: 0 / 0.6494 GB, free: 7.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.00372/0.4609, allocations: 2.174 MB / 0.6515 GB, free: 5.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.4609, allocations: 62.72 kB / 0.6516 GB, free: 5.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.4612, allocations: 349.7 kB / 0.6519 GB, free: 4.812 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.4613, allocations: 33.7 kB / 0.6519 GB, free: 4.773 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4614, allocations: 212.8 kB / 0.6522 GB, free: 4.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.4615, allocations: 221.8 kB / 0.6524 GB, free: 4.348 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.4617, allocations: 106.2 kB / 0.6525 GB, free: 4.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.4618, allocations: 362.8 kB / 0.6528 GB, free: 3.875 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.4623, allocations: 261.1 kB / 0.6531 GB, free: 3.621 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.4628, allocations: 335.7 kB / 0.6534 GB, free: 3.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009851/0.4638, allocations: 0.618 MB / 0.654 GB, free: 2.648 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4638, allocations: 4 kB / 0.654 GB, free: 2.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001421/0.4652, allocations: 0.8423 MB / 0.6548 GB, free: 1.805 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4653, allocations: 8 kB / 0.6548 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4653, allocations: 4 kB / 0.6548 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003796/0.4657, allocations: 133.3 kB / 0.6549 GB, free: 1.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.4661, allocations: 114.3 kB / 0.6551 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.4684, allocations: 2.251 MB / 0.6573 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.4687, allocations: 19.98 kB / 0.6573 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.4688, allocations: 27.98 kB / 0.6573 GB, free: 15.15 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.0002046/0.469, allocations: 191.1 kB / 0.6575 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4691, allocations: 56.48 kB / 0.6575 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.4708, allocations: 1.05 MB / 0.6586 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4709, allocations: 11.03 kB / 0.6586 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4709, allocations: 4 kB / 0.6586 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4709, allocations: 7.984 kB / 0.6586 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.4733, allocations: 1.631 MB / 0.6602 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4733, allocations: 4 kB / 0.6602 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.4737, allocations: 95.12 kB / 0.6603 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.4741, allocations: 136.7 kB / 0.6604 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.4742, allocations: 21.39 kB / 0.6604 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.4763, allocations: 2.252 MB / 0.6626 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4763, allocations: 5.188 kB / 0.6626 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.4783, allocations: 1.284 MB / 0.6639 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.4785, allocations: 184.4 kB / 0.6641 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.4786, allocations: 17.81 kB / 0.6641 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.4789, allocations: 23.98 kB / 0.6641 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/0.479, allocations: 49.2 kB / 0.6641 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.479, allocations: 19.98 kB / 0.6642 GB, free: 7.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.4793, allocations: 279.1 kB / 0.6644 GB, free: 7.688 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4793, allocations: 0 / 0.6644 GB, free: 7.688 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007212/0.48, allocations: 291.9 kB / 0.6647 GB, free: 7.402 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.002576/0.4826, allocations: 2.132 MB / 0.6668 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4841, allocations: 0.8951 MB / 0.6677 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4841, allocations: 8.062 kB / 0.6677 GB, free: 4.383 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.485, allocations: 0.5962 MB / 0.6683 GB, free: 3.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.4859, allocations: 182.2 kB / 0.6684 GB, free: 3.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007381/0.4933, allocations: 5.921 MB / 0.6742 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4936, allocations: 0.872 MB / 0.6751 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.494, allocations: 134.4 kB / 0.6752 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.4943, allocations: 199.3 kB / 0.6754 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4943, allocations: 4 kB / 0.6754 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.391/2.885, allocations: 18.89 MB / 0.6938 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/2.886, allocations: 217.2 kB / 0.694 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/4.877, allocations: 10.91 kB / 0.694 GB, free: 9.625 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