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.001584/0.001583, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.649/1.649, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9106/0.9106, allocations: 91.19 MB / 381.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 78.12 kB / 460.4 MB, free: 23.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1853, allocations: 67.69 MB / 0.5157 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Nozzle): time 0.8533/1.039, allocations: 258.8 MB / 0.7685 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02348/1.062, allocations: 12.91 MB / 0.7811 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002868/1.065, allocations: 71.56 kB / 0.7812 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003949/1.069, allocations: 0.9906 MB / 0.7821 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02102/1.09, allocations: 5.453 MB / 0.7875 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009714/1.1, allocations: 2.414 MB / 0.7898 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004631/1.105, allocations: 1.998 MB / 0.7918 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/1.106, allocations: 385.2 kB / 0.7921 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/1.109, allocations: 1.284 MB / 0.7934 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/1.111, allocations: 0.7971 MB / 0.7942 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/1.111, allocations: 100 kB / 0.7943 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02774/1.139, allocations: 10.55 MB / 0.8046 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009681/1.14, allocations: 390.6 kB / 0.805 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/1.141, allocations: 0.707 MB / 0.8056 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02702/1.168, allocations: 5.978 MB / 0.8115 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/1.168, allocations: 0 / 0.8115 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd: time 4.098e-06/1.168, allocations: 0 / 0.8115 GB, free: 408 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.827e-05/1.168, allocations: 0 / 0.8115 GB, free: 408 kB / 0.6075 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.01057/1.179, allocations: 2.711 MB / 0.8141 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.245e-05/1.179, allocations: 11.97 kB / 0.8141 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/1.179, allocations: 160.3 kB / 0.8143 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/1.18, allocations: 165.9 kB / 0.8145 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/1.182, allocations: 0.9315 MB / 0.8154 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.182, allocations: 73.98 kB / 0.8154 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.182, allocations: 91.98 kB / 0.8155 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.184, allocations: 1.401 MB / 0.8169 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.184, allocations: 3.938 kB / 0.8169 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.442e-05/1.184, allocations: 36 kB / 0.8169 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.184, allocations: 93.95 kB / 0.817 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/1.187, allocations: 1.53 MB / 0.8185 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008414/1.195, allocations: 5.852 MB / 0.8242 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/1.197, allocations: 0.8689 MB / 0.8251 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00099/1.198, allocations: 0.6688 MB / 0.8257 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3846/1.583, allocations: 2.402 MB / 0.8281 GB, free: 239.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.067e-05/1.583, allocations: 48.47 kB / 0.8281 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=114): time 7.724e-06/1.583, allocations: 1.062 kB / 0.8281 GB, free: 239.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=114): time 0.005664/1.588, allocations: 2.105 MB / 0.8302 GB, free: 239 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/1.589, allocations: 94.8 kB / 0.8303 GB, free: 238.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.59, allocations: 0.8943 MB / 0.8311 GB, free: 238.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/1.59, allocations: 45.52 kB / 0.8312 GB, free: 238.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/1.591, allocations: 0.5282 MB / 0.8317 GB, free: 238.2 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/1.591, allocations: 390.9 kB / 0.8321 GB, free: 237.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/1.592, allocations: 185.6 kB / 0.8322 GB, free: 237.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.592, allocations: 342.5 kB / 0.8326 GB, free: 237.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/1.593, allocations: 456.6 kB / 0.833 GB, free: 237.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/1.594, allocations: 0.5293 MB / 0.8335 GB, free: 237.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/1.595, allocations: 1.043 MB / 0.8345 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.595, allocations: 0.8438 kB / 0.8345 GB, free: 236.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002796/1.598, allocations: 1.395 MB / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.598, allocations: 6.281 kB / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.598, allocations: 0 / 0.8359 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/1.599, allocations: 116.5 kB / 0.836 GB, free: 236 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.6, allocations: 189.5 kB / 0.8362 GB, free: 235.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0026/1.602, allocations: 3.355 MB / 0.8395 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/1.603, allocations: 77.86 kB / 0.8396 GB, free: 232.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.603, allocations: 63.36 kB / 0.8396 GB, free: 232.8 MB / 0.6231 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.0006484/1.604, allocations: 288.1 kB / 0.8399 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003284/1.604, allocations: 126.4 kB / 0.84 GB, free: 232.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.608, allocations: 2.041 MB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.332e-05/1.608, allocations: 17.22 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.608, allocations: 0.5156 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/1.608, allocations: 10.42 kB / 0.842 GB, free: 231.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/1.613, allocations: 2.994 MB / 0.845 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/1.613, allocations: 0 / 0.845 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/1.614, allocations: 174.3 kB / 0.8451 GB, free: 230.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/1.615, allocations: 137.6 kB / 0.8453 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/1.615, allocations: 37.55 kB / 0.8453 GB, free: 230.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002892/1.618, allocations: 3.362 MB / 0.8486 GB, free: 227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.618, allocations: 2.328 kB / 0.8486 GB, free: 227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004418/1.622, allocations: 2.228 MB / 0.8507 GB, free: 225.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005227/1.623, allocations: 212.6 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.623, allocations: 28.83 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/1.623, allocations: 19.78 kB / 0.851 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.624, allocations: 82.53 kB / 0.8511 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.624, allocations: 65.64 kB / 0.8511 GB, free: 225.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001145/1.625, allocations: 0.6609 MB / 0.8518 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.954e-06/1.625, allocations: 0 / 0.8518 GB, free: 225.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004656/1.63, allocations: 1.009 MB / 0.8528 GB, free: 225.2 MB / 0.6231 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.009569/1.639, allocations: 3.994 MB / 0.8567 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.643, allocations: 1.557 MB / 0.8582 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.643, allocations: 0 / 0.8582 GB, free: 222.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/1.645, allocations: 0.9377 MB / 0.8591 GB, free: 222.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.647, allocations: 421.7 kB / 0.8595 GB, free: 222.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.665, allocations: 10.98 MB / 0.8702 GB, free: 216.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/1.666, allocations: 1.196 MB / 0.8714 GB, free: 215.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001639/1.667, allocations: 0.6731 MB / 0.8721 GB, free: 215.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/1.668, allocations: 0.5553 MB / 0.8726 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of SimCode: time 1.874e-06/1.668, allocations: 0 / 0.8726 GB, free: 215.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09298/1.761, allocations: 49.19 MB / 0.9206 GB, free: 169 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/15.21, allocations: 17.61 kB / 0.9207 GB, free: 169 MB / 0.6231 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