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.0009258/0.0009258, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005978/0.005978, allocations: 170 kB / 16.27 MB, free: 6.66 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5546/0.5546, allocations: 89.65 MB / 381.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 14.41 kB / 460.7 MB, free: 24.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09574, allocations: 68.82 MB / 0.5172 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.04531/0.1411, allocations: 48.5 MB / 0.5645 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2176/0.3587, allocations: 12.41 MB / 0.5766 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.3592, allocations: 8.594 kB / 0.5766 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.3598, allocations: 239.7 kB / 0.5769 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001092/0.3609, allocations: 486.9 kB / 0.5773 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.3627, allocations: 0.6502 MB / 0.578 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3637, allocations: 1.063 MB / 0.579 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.364, allocations: 149.8 kB / 0.5792 GB, free: 6.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02058/0.3846, allocations: 11.46 MB / 0.5903 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.385, allocations: 355 kB / 0.5907 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.385, allocations: 28.22 kB / 0.5907 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.08446/0.4695, allocations: 52.81 MB / 0.6423 GB, free: 6.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002535/0.4698, allocations: 107 kB / 0.6424 GB, free: 6.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.4702, allocations: 298.1 kB / 0.6427 GB, free: 6.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.472, allocations: 1.002 MB / 0.6436 GB, free: 5.82 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.472, allocations: 0 / 0.6436 GB, free: 5.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.472, allocations: 3 kB / 0.6437 GB, free: 5.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.4721, allocations: 0 / 0.6437 GB, free: 5.82 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.00167/0.4737, allocations: 0.8991 MB / 0.6445 GB, free: 4.887 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.4738, allocations: 12.03 kB / 0.6445 GB, free: 4.875 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.4739, allocations: 83.59 kB / 0.6446 GB, free: 4.785 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.474, allocations: 60.27 kB / 0.6447 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.4744, allocations: 390.5 kB / 0.6451 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-05/0.4745, allocations: 97.14 kB / 0.6451 GB, free: 4.223 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.4746, allocations: 47.84 kB / 0.6452 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.4756, allocations: 0.659 MB / 0.6458 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4756, allocations: 2.906 kB / 0.6458 GB, free: 3.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.4757, allocations: 16 kB / 0.6459 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.438e-05/0.4757, allocations: 25 kB / 0.6459 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4768, allocations: 0.6705 MB / 0.6465 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.4799, allocations: 2.457 MB / 0.6489 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.4813, allocations: 0.6966 MB / 0.6496 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.4819, allocations: 373.1 kB / 0.65 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/0.4841, allocations: 2.632 MB / 0.6525 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.4842, allocations: 47.12 kB / 0.6526 GB, free: 11.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=63): time 1.934e-06/0.4842, allocations: 0 / 0.6526 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.003704/0.4879, allocations: 2.186 MB / 0.6547 GB, free: 9.688 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4879, allocations: 59.91 kB / 0.6548 GB, free: 9.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.4882, allocations: 353.7 kB / 0.6551 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.4883, allocations: 33.7 kB / 0.6551 GB, free: 9.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4884, allocations: 215.5 kB / 0.6553 GB, free: 9.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.4886, allocations: 223 kB / 0.6556 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.4887, allocations: 53.69 kB / 0.6556 GB, free: 8.742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4888, allocations: 358.8 kB / 0.656 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004548/0.4892, allocations: 261.1 kB / 0.6562 GB, free: 8.129 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.4897, allocations: 345.5 kB / 0.6565 GB, free: 7.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.4907, allocations: 0.6233 MB / 0.6571 GB, free: 7.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4908, allocations: 0 / 0.6571 GB, free: 7.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001423/0.4922, allocations: 0.8536 MB / 0.658 GB, free: 6.289 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4922, allocations: 8 kB / 0.658 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4922, allocations: 6.406 kB / 0.658 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003723/0.4926, allocations: 132.8 kB / 0.6581 GB, free: 6.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.493, allocations: 117.9 kB / 0.6582 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.4953, allocations: 2.246 MB / 0.6604 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.4956, allocations: 24.89 kB / 0.6604 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.4957, allocations: 27.98 kB / 0.6605 GB, free: 3.621 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.0002105/0.4959, allocations: 189.2 kB / 0.6607 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.496, allocations: 55.28 kB / 0.6607 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4978, allocations: 1.054 MB / 0.6617 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.4978, allocations: 8 kB / 0.6617 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4978, allocations: 4 kB / 0.6617 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.4978, allocations: 3.984 kB / 0.6617 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.5002, allocations: 1.644 MB / 0.6634 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.5002, allocations: 8.031 kB / 0.6634 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.5006, allocations: 101.5 kB / 0.6635 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.501, allocations: 135.5 kB / 0.6636 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.501, allocations: 30.39 kB / 0.6636 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.5032, allocations: 2.253 MB / 0.6658 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5032, allocations: 8 kB / 0.6658 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.5052, allocations: 1.289 MB / 0.6671 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.5054, allocations: 192.4 kB / 0.6673 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.5055, allocations: 12 kB / 0.6673 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.5058, allocations: 27.98 kB / 0.6673 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.5059, allocations: 51.67 kB / 0.6674 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.669e-05/0.506, allocations: 23.98 kB / 0.6674 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004062/0.5064, allocations: 275.2 kB / 0.6676 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5064, allocations: 0 / 0.6676 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001091/0.5075, allocations: 295.8 kB / 0.6679 GB, free: 11.82 MB / 0.4981 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.003779/0.5113, allocations: 2.137 MB / 0.67 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002078/0.5134, allocations: 0.9094 MB / 0.6709 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.5134, allocations: 0 / 0.6709 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.5146, allocations: 0.6063 MB / 0.6715 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.516, allocations: 180.9 kB / 0.6717 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009812/0.5258, allocations: 6.06 MB / 0.6776 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.5264, allocations: 0.8759 MB / 0.6784 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006088/0.527, allocations: 132.4 kB / 0.6786 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.5274, allocations: 199.3 kB / 0.6788 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.5274, allocations: 0 / 0.6788 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.256/3.783, allocations: 18.67 MB / 0.697 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/3.784, allocations: 241.9 kB / 0.6972 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/6.273, allocations: 0 / 0.6972 GB, free: 14.02 MB / 0.5294 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