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-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_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.007956/0.007956, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001992/0.001992, allocations: 192 kB / 16.67 MB, free: 6.391 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7091/0.7091, allocations: 91.19 MB / 381.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 79.88 kB / 0.5164 GB, free: 9.508 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.142, allocations: 67.69 MB / 0.5825 GB, free: 5.746 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.5416/0.6836, allocations: 258.8 MB / 0.8352 GB, free: 5.059 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.4461/1.13, allocations: 12.91 MB / 0.8478 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.131, allocations: 75.98 kB / 0.8479 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002759/1.134, allocations: 1.027 MB / 0.8489 GB, free: 1.684 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01538/1.149, allocations: 5.516 MB / 0.8543 GB, free: 1.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00652/1.156, allocations: 2.424 MB / 0.8567 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003496/1.159, allocations: 2.012 MB / 0.8586 GB, free: 1.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008401/1.16, allocations: 379.8 kB / 0.859 GB, free: 1.586 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/1.164, allocations: 1.317 MB / 0.8603 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/1.166, allocations: 0.7997 MB / 0.8611 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004634/1.166, allocations: 100.5 kB / 0.8612 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02432/1.191, allocations: 10.62 MB / 0.8715 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/1.192, allocations: 386.7 kB / 0.8719 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002129/1.194, allocations: 0.705 MB / 0.8726 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02044/1.214, allocations: 6.057 MB / 0.8785 GB, free: 1.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.214, allocations: 0.9375 kB / 0.8785 GB, free: 1.086 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/1.214, allocations: 0 / 0.8785 GB, free: 1.086 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.346e-05/1.214, allocations: 5.016 kB / 0.8785 GB, free: 1.086 MB / 0.67 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.008199/1.222, allocations: 2.811 MB / 0.8813 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.223, allocations: 10.75 kB / 0.8813 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003718/1.223, allocations: 152.3 kB / 0.8814 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/1.223, allocations: 171.5 kB / 0.8816 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.226, allocations: 1.056 MB / 0.8826 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/1.226, allocations: 75.31 kB / 0.8827 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/1.226, allocations: 100.1 kB / 0.8828 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/1.228, allocations: 1.398 MB / 0.8841 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/1.228, allocations: 1 kB / 0.8841 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/1.229, allocations: 38.8 kB / 0.8842 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/1.229, allocations: 89.89 kB / 0.8843 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/1.231, allocations: 1.534 MB / 0.8858 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007338/1.238, allocations: 5.84 MB / 0.8915 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/1.239, allocations: 0.8618 MB / 0.8923 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/1.24, allocations: 0.6808 MB / 0.893 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001994/1.242, allocations: 2.401 MB / 0.8953 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.242, allocations: 56.7 kB / 0.8954 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=114): time 4.098e-06/1.242, allocations: 0 / 0.8954 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of matching and sorting (n=114): time 0.003901/1.246, allocations: 2.096 MB / 0.8974 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.246, allocations: 91.59 kB / 0.8975 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/1.248, allocations: 0.9 MB / 0.8984 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.715e-05/1.248, allocations: 45.52 kB / 0.8984 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/1.248, allocations: 0.533 MB / 0.8989 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/1.249, allocations: 405.3 kB / 0.8993 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/1.249, allocations: 186.2 kB / 0.8995 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.249, allocations: 343.9 kB / 0.8998 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/1.25, allocations: 467.2 kB / 0.9003 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/1.25, allocations: 0.5198 MB / 0.9008 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/1.252, allocations: 1.044 MB / 0.9018 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.252, allocations: 3.781 kB / 0.9018 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002319/1.254, allocations: 1.394 MB / 0.9032 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.254, allocations: 5.219 kB / 0.9032 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.254, allocations: 1 kB / 0.9032 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/1.255, allocations: 125.2 kB / 0.9033 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/1.256, allocations: 184.1 kB / 0.9035 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/1.259, allocations: 3.355 MB / 0.9067 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/1.259, allocations: 78.64 kB / 0.9068 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/1.26, allocations: 66.25 kB / 0.9069 GB, free: 4.898 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.000588/1.26, allocations: 281.3 kB / 0.9072 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/1.261, allocations: 135.6 kB / 0.9073 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/1.264, allocations: 2.052 MB / 0.9093 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.264, allocations: 13.19 kB / 0.9093 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.264, allocations: 2.938 kB / 0.9093 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/1.264, allocations: 11.88 kB / 0.9093 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/1.269, allocations: 3.004 MB / 0.9122 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/1.269, allocations: 0.8125 kB / 0.9123 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/1.269, allocations: 174.5 kB / 0.9124 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/1.27, allocations: 125.2 kB / 0.9125 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/1.27, allocations: 41.97 kB / 0.9126 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/1.273, allocations: 3.357 MB / 0.9159 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.273, allocations: 0.6562 kB / 0.9159 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/1.277, allocations: 2.247 MB / 0.918 GB, free: 476 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/1.277, allocations: 212.6 kB / 0.9183 GB, free: 284 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/1.278, allocations: 25.61 kB / 0.9183 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008594/1.279, allocations: 21.72 kB / 0.9183 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/1.279, allocations: 83.55 kB / 0.9184 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/1.279, allocations: 64.72 kB / 0.9184 GB, free: 240 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001591/1.281, allocations: 0.6606 MB / 0.9191 GB, free: 24 kB / 0.6856 GB Notification: Performance of sort global known variables: time 7.81e-07/1.281, allocations: 1.125 kB / 0.9191 GB, free: 24 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004778/1.286, allocations: 1.02 MB / 0.9201 GB, free: 15.79 MB / 0.7012 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.008559/1.294, allocations: 4.021 MB / 0.924 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003157/1.298, allocations: 1.469 MB / 0.9254 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.298, allocations: 3.688 kB / 0.9254 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.299, allocations: 0.931 MB / 0.9264 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.302, allocations: 437 kB / 0.9268 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/1.322, allocations: 10.29 MB / 0.9368 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.323, allocations: 1.187 MB / 0.938 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001631/1.324, allocations: 0.6898 MB / 0.9387 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008334/1.325, allocations: 0.5512 MB / 0.9392 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of SimCode: time 9.41e-07/1.325, allocations: 4 kB / 0.9392 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/1.426, allocations: 49.66 MB / 0.9877 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/15.01, allocations: 7.844 kB / 0.9877 GB, free: 1.891 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