Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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-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.Nozzle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Nozzle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Nozzle,fileNamePrefix="ThermofluidStream_dev_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.008733/0.008734, allocations: 100.8 kB / 15.73 MB, free: 6.051 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.001691/0.001691, allocations: 202.1 kB / 16.68 MB, free: 5.973 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.692/1.692, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.056/1.056, allocations: 93.7 MB / 384.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 83.86 kB / 0.5199 GB, free: 1.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5431, allocations: 68.25 MB / 0.5866 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.9736/1.517, allocations: 258.9 MB / 0.8394 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02733/1.544, allocations: 12.94 MB / 0.852 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00467/1.549, allocations: 78.56 kB / 0.8521 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005368/1.554, allocations: 0.9909 MB / 0.8531 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02676/1.581, allocations: 5.467 MB / 0.8584 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/1.593, allocations: 2.425 MB / 0.8608 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005498/1.598, allocations: 2.052 MB / 0.8628 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/1.599, allocations: 399 kB / 0.8632 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/1.603, allocations: 1.307 MB / 0.8645 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/1.604, allocations: 0.8049 MB / 0.8652 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/1.604, allocations: 100 kB / 0.8653 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03036/1.635, allocations: 10.6 MB / 0.8757 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.636, allocations: 394.5 kB / 0.8761 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/1.638, allocations: 0.707 MB / 0.8768 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.03608/1.674, allocations: 6.072 MB / 0.8827 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.934e-05/1.675, allocations: 0 / 0.8827 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.196e-06/1.675, allocations: 0 / 0.8827 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.675e-05/1.675, allocations: 0 / 0.8827 GB, free: 3.91 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.009564/1.684, allocations: 2.832 MB / 0.8854 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.684, allocations: 16.03 kB / 0.8855 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004367/1.685, allocations: 152.3 kB / 0.8856 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/1.685, allocations: 170.9 kB / 0.8858 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/1.688, allocations: 1.081 MB / 0.8868 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/1.688, allocations: 74 kB / 0.8869 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.688, allocations: 95.98 kB / 0.887 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/1.691, allocations: 1.393 MB / 0.8884 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/1.691, allocations: 3.938 kB / 0.8884 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.691, allocations: 39.98 kB / 0.8884 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/1.692, allocations: 93.89 kB / 0.8885 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/1.695, allocations: 1.523 MB / 0.89 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/1.706, allocations: 5.854 MB / 0.8957 GB, free: 5.938 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/1.708, allocations: 0.858 MB / 0.8965 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/1.709, allocations: 0.6805 MB / 0.8972 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002887/1.712, allocations: 2.402 MB / 0.8995 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/1.712, allocations: 51.56 kB / 0.8996 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=114): time 4.338e-06/1.712, allocations: 0 / 0.8996 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of matching and sorting (n=114): time 0.005239/1.717, allocations: 2.108 MB / 0.9016 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/1.718, allocations: 94.23 kB / 0.9017 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.719, allocations: 0.912 MB / 0.9026 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.643e-05/1.719, allocations: 45.64 kB / 0.9027 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/1.72, allocations: 0.5494 MB / 0.9032 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/1.72, allocations: 408.5 kB / 0.9036 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/1.721, allocations: 186.6 kB / 0.9038 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.721, allocations: 345.9 kB / 0.9041 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/1.722, allocations: 461.8 kB / 0.9045 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.723, allocations: 0.5201 MB / 0.905 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.725, allocations: 1.051 MB / 0.9061 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.725, allocations: 0 / 0.9061 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00292/1.728, allocations: 1.388 MB / 0.9074 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/1.728, allocations: 7.938 kB / 0.9074 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.728, allocations: 0 / 0.9074 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/1.729, allocations: 125.6 kB / 0.9076 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/1.729, allocations: 183.8 kB / 0.9077 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/1.734, allocations: 3.361 MB / 0.911 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/1.735, allocations: 79.39 kB / 0.9111 GB, free: 5.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.735, allocations: 64.22 kB / 0.9112 GB, free: 5.133 MB / 0.6544 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.0007531/1.735, allocations: 282.5 kB / 0.9114 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.736, allocations: 139.1 kB / 0.9116 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/1.74, allocations: 2.047 MB / 0.9136 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001752/1.741, allocations: 12 kB / 0.9136 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.741, allocations: 0 / 0.9136 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/1.741, allocations: 15.95 kB / 0.9136 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/1.747, allocations: 3.012 MB / 0.9165 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/1.747, allocations: 0 / 0.9165 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008444/1.748, allocations: 171.7 kB / 0.9167 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/1.748, allocations: 129.6 kB / 0.9168 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.748, allocations: 39.97 kB / 0.9168 GB, free: 15.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00431/1.753, allocations: 3.365 MB / 0.9201 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.753, allocations: 0 / 0.9201 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004906/1.758, allocations: 2.241 MB / 0.9223 GB, free: 9.266 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/1.758, allocations: 219.9 kB / 0.9225 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.759, allocations: 27.92 kB / 0.9226 GB, free: 9.004 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/1.759, allocations: 20 kB / 0.9226 GB, free: 8.984 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.759, allocations: 89.06 kB / 0.9227 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.76, allocations: 59.97 kB / 0.9227 GB, free: 8.84 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001079/1.761, allocations: 0.6701 MB / 0.9234 GB, free: 8.164 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.31e-07/1.761, allocations: 0 / 0.9234 GB, free: 8.164 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003627/1.764, allocations: 1.016 MB / 0.9244 GB, free: 7.145 MB / 0.67 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.009189/1.773, allocations: 4.023 MB / 0.9283 GB, free: 3.09 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003322/1.777, allocations: 1.472 MB / 0.9297 GB, free: 1.594 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.777, allocations: 0 / 0.9297 GB, free: 1.594 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.779, allocations: 0.9293 MB / 0.9306 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.781, allocations: 422.7 kB / 0.931 GB, free: 244 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/1.803, allocations: 10.39 MB / 0.9412 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.805, allocations: 1.199 MB / 0.9424 GB, free: 4.461 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001905/1.806, allocations: 0.6803 MB / 0.943 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008856/1.807, allocations: 0.5618 MB / 0.9436 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of SimCode: time 1.122e-06/1.807, allocations: 0 / 0.9436 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1334/1.941, allocations: 49.89 MB / 0.9923 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.96, allocations: 19.84 kB / 0.9923 GB, free: 1.543 MB / 0.7325 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_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_dev_ThermofluidStream_Processes_Tests_Nozzle.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Nozzle.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Nozzle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches