Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.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/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/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.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle",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.004622/0.004622, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001252/0.001252, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6923/0.6923, allocations: 89.47 MB / 380 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 83.86 kB / 0.5139 GB, free: 11.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1428, allocations: 67.3 MB / 0.5796 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5918/0.7346, allocations: 258.4 MB / 0.832 GB, free: 9.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4002/1.135, allocations: 12.73 MB / 0.8444 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009407/1.136, allocations: 16.41 kB / 0.8444 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002423/1.138, allocations: 0.9604 MB / 0.8453 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/1.152, allocations: 5.341 MB / 0.8506 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005763/1.158, allocations: 2.406 MB / 0.8529 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002651/1.16, allocations: 1.708 MB / 0.8546 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/1.161, allocations: 352.6 kB / 0.8549 GB, free: 17.49 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/1.164, allocations: 1.15 MB / 0.856 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/1.165, allocations: 0.7416 MB / 0.8568 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/1.165, allocations: 99.59 kB / 0.8569 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02008/1.185, allocations: 10.6 MB / 0.8672 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/1.186, allocations: 368.9 kB / 0.8676 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.187, allocations: 0.6172 MB / 0.8682 GB, free: 17.38 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01789/1.205, allocations: 5.776 MB / 0.8738 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.205, allocations: 0 / 0.8738 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.174e-06/1.205, allocations: 2.094 kB / 0.8738 GB, free: 17.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.75e-05/1.205, allocations: 0 / 0.8738 GB, free: 17.01 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.006646/1.212, allocations: 2.513 MB / 0.8763 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.212, allocations: 11.66 kB / 0.8763 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/1.212, allocations: 153.8 kB / 0.8764 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/1.212, allocations: 134.1 kB / 0.8766 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/1.213, allocations: 0.6121 MB / 0.8771 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/1.213, allocations: 71.5 kB / 0.8772 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.213, allocations: 99.12 kB / 0.8773 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/1.215, allocations: 1.372 MB / 0.8787 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.215, allocations: 6.172 kB / 0.8787 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.164e-05/1.215, allocations: 42.12 kB / 0.8787 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/1.215, allocations: 87.16 kB / 0.8788 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.217, allocations: 1.511 MB / 0.8803 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005852/1.223, allocations: 5.092 MB / 0.8852 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/1.224, allocations: 0.8474 MB / 0.8861 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/1.225, allocations: 0.6777 MB / 0.8867 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/1.227, allocations: 2.401 MB / 0.8891 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.227, allocations: 46.47 kB / 0.8891 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 3.647e-06/1.227, allocations: 0 / 0.8891 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.00349/1.231, allocations: 2.072 MB / 0.8911 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/1.231, allocations: 97.41 kB / 0.8912 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/1.232, allocations: 0.6106 MB / 0.8918 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/1.232, allocations: 45.33 kB / 0.8919 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/1.232, allocations: 393.4 kB / 0.8922 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/1.232, allocations: 414.7 kB / 0.8926 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003243/1.233, allocations: 188 kB / 0.8928 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.233, allocations: 343.8 kB / 0.8931 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/1.233, allocations: 465.1 kB / 0.8936 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006841/1.234, allocations: 0.5172 MB / 0.8941 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.236, allocations: 1.051 MB / 0.8951 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.236, allocations: 0.875 kB / 0.8951 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002187/1.238, allocations: 1.357 MB / 0.8964 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.238, allocations: 9.406 kB / 0.8965 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.238, allocations: 3.531 kB / 0.8965 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/1.238, allocations: 120.2 kB / 0.8966 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/1.239, allocations: 188.9 kB / 0.8967 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/1.242, allocations: 3.355 MB / 0.9 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.243, allocations: 77.48 kB / 0.9001 GB, free: 5.293 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.243, allocations: 63.55 kB / 0.9002 GB, free: 5.293 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (108): * Single equations (assignments): 98 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004797/1.243, allocations: 261.7 kB / 0.9004 GB, free: 5.176 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.243, allocations: 100.8 kB / 0.9005 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003223/1.247, allocations: 2.025 MB / 0.9025 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/1.247, allocations: 11.09 kB / 0.9025 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/1.247, allocations: 5.625 kB / 0.9025 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/1.247, allocations: 6.188 kB / 0.9025 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/1.251, allocations: 2.891 MB / 0.9053 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.251, allocations: 0 / 0.9053 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005696/1.251, allocations: 171.2 kB / 0.9055 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/1.252, allocations: 136.6 kB / 0.9056 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/1.252, allocations: 40.75 kB / 0.9057 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/1.254, allocations: 3.354 MB / 0.9089 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.255, allocations: 6.594 kB / 0.9089 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/1.257, allocations: 2.195 MB / 0.9111 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/1.258, allocations: 187 kB / 0.9113 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.258, allocations: 24.34 kB / 0.9113 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004192/1.258, allocations: 19.86 kB / 0.9113 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.258, allocations: 90.61 kB / 0.9114 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.259, allocations: 63.89 kB / 0.9115 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005285/1.259, allocations: 482.8 kB / 0.9119 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.31e-07/1.259, allocations: 0.7812 kB / 0.9119 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002962/1.262, allocations: 1.004 MB / 0.9129 GB, free: 0.9375 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow.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 (102): * Single equations (assignments): 92 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006704/1.269, allocations: 3.978 MB / 0.9168 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0023/1.271, allocations: 1.471 MB / 0.9182 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.271, allocations: 0.9062 kB / 0.9182 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.272, allocations: 0.9352 MB / 0.9191 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.274, allocations: 401.3 kB / 0.9195 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/1.288, allocations: 9.062 MB / 0.9284 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/1.289, allocations: 1.087 MB / 0.9294 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001436/1.29, allocations: 0.6479 MB / 0.9301 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/1.291, allocations: 430.2 kB / 0.9305 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.291, allocations: 0 / 0.9305 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09308/1.384, allocations: 45.74 MB / 0.9751 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.82, allocations: 11.86 kB / 0.9751 GB, free: 11.18 MB / 0.7481 GB (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Nozzle_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches