Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",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.008218/0.008218, allocations: 100.3 kB / 15.73 MB, free: 6 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.001737/0.001737, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7909/0.7909, allocations: 91.19 MB / 381.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 83.88 kB / 0.5164 GB, free: 4.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4585, allocations: 67.68 MB / 0.5825 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.1895/0.6481, allocations: 146.9 MB / 0.7259 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.6531, allocations: 3.143 MB / 0.729 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.6541, allocations: 27.81 kB / 0.729 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.6551, allocations: 234.4 kB / 0.7292 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.6565, allocations: 377.6 kB / 0.7296 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.6581, allocations: 446.4 kB / 0.73 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.6593, allocations: 0.6807 MB / 0.7307 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.6596, allocations: 133.1 kB / 0.7308 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.6613, allocations: 0.4939 MB / 0.7313 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.6619, allocations: 286.8 kB / 0.7316 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.6621, allocations: 28 kB / 0.7316 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.6635, allocations: 0.5575 MB / 0.7321 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.6636, allocations: 75.58 kB / 0.7322 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.664, allocations: 218.7 kB / 0.7324 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.6654, allocations: 0.6836 MB / 0.7331 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.6654, allocations: 0 / 0.7331 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6654, allocations: 3.938 kB / 0.7331 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.6655, allocations: 0 / 0.7331 GB, free: 3.242 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001739/0.6672, allocations: 0.7797 MB / 0.7339 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6673, allocations: 12.03 kB / 0.7339 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.4e-05/0.6674, allocations: 62.72 kB / 0.7339 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.6675, allocations: 60.19 kB / 0.734 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009405/0.6684, allocations: 477.6 kB / 0.7344 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.6685, allocations: 16.94 kB / 0.7345 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.6685, allocations: 28.38 kB / 0.7345 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.6691, allocations: 320.5 kB / 0.7348 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6692, allocations: 4 kB / 0.7348 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.6692, allocations: 8 kB / 0.7348 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6692, allocations: 8 kB / 0.7348 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.6697, allocations: 199.7 kB / 0.735 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3608/1.03, allocations: 1.77 MB / 0.7367 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/1.031, allocations: 177.8 kB / 0.7369 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.031, allocations: 71.61 kB / 0.737 GB, free: 154 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/1.032, allocations: 0.522 MB / 0.7375 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/1.032, allocations: 37.42 kB / 0.7375 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 3.046e-06/1.032, allocations: 0 / 0.7375 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001072/1.033, allocations: 352.1 kB / 0.7378 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/1.033, allocations: 113.8 kB / 0.738 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000671/1.034, allocations: 447.3 kB / 0.7384 GB, free: 153 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.034, allocations: 26.98 kB / 0.7384 GB, free: 153 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/1.034, allocations: 248.1 kB / 0.7386 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/1.034, allocations: 58.44 kB / 0.7387 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/1.034, allocations: 42.05 kB / 0.7387 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.034, allocations: 355.4 kB / 0.7391 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/1.035, allocations: 59.92 kB / 0.7391 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/1.035, allocations: 110.8 kB / 0.7392 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/1.035, allocations: 172.7 kB / 0.7394 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.035, allocations: 0.9375 kB / 0.7394 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005785/1.036, allocations: 276.3 kB / 0.7397 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/1.036, allocations: 9.344 kB / 0.7397 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.036, allocations: 2.344 kB / 0.7397 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/1.036, allocations: 22.17 kB / 0.7397 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/1.036, allocations: 56.28 kB / 0.7398 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008653/1.037, allocations: 1.379 MB / 0.7411 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.037, allocations: 36.3 kB / 0.7411 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/1.037, allocations: 10.84 kB / 0.7412 GB, free: 150.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001832/1.037, allocations: 154.4 kB / 0.7413 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.038, allocations: 53.33 kB / 0.7413 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/1.038, allocations: 258.2 kB / 0.7416 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.038, allocations: 1.875 kB / 0.7416 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.038, allocations: 8.938 kB / 0.7416 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/1.038, allocations: 2.766 kB / 0.7416 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/1.039, allocations: 354.2 kB / 0.7419 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.039, allocations: 3.438 kB / 0.7419 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.039, allocations: 31.73 kB / 0.742 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/1.039, allocations: 26.78 kB / 0.742 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.039, allocations: 6.219 kB / 0.742 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007704/1.04, allocations: 1.386 MB / 0.7434 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.04, allocations: 8.516 kB / 0.7434 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/1.041, allocations: 454.7 kB / 0.7438 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/1.041, allocations: 122.7 kB / 0.7439 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/1.041, allocations: 6.094 kB / 0.7439 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/1.041, allocations: 7.453 kB / 0.7439 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/1.041, allocations: 19.44 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/1.041, allocations: 5.156 kB / 0.744 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000419/1.041, allocations: 316.8 kB / 0.7443 GB, free: 148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.041, allocations: 0 / 0.7443 GB, free: 148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005735/1.042, allocations: 99.72 kB / 0.7444 GB, free: 148 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/1.043, allocations: 1.072 MB / 0.7454 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000703/1.044, allocations: 270.5 kB / 0.7457 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.044, allocations: 0.7188 kB / 0.7457 GB, free: 147 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003619/1.044, allocations: 194.4 kB / 0.7458 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008042/1.045, allocations: 109 kB / 0.746 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/1.051, allocations: 3.56 MB / 0.7494 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/1.051, allocations: 0.8139 MB / 0.7502 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002402/1.052, allocations: 49.7 kB / 0.7503 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/1.052, allocations: 156 kB / 0.7504 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/1.052, allocations: 0 / 0.7504 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/1.087, allocations: 10.28 MB / 0.7605 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.26, allocations: 19.67 kB / 0.7605 GB, free: 135.1 MB / 0.5762 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches