Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0007899/0.0007899, allocations: 180.6 kB / 15.45 MB, free: 6.227 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205 MB / 221.2 MB, free: 1.855 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006547/0.0006547, allocations: 98.22 kB / 269.2 MB, free: 1.797 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4857/0.4857, allocations: 90.53 MB / 407.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 8 kB / 484.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09417, allocations: 65.83 MB / 0.5372 GB, free: 1.594 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3022/0.3964, allocations: 143.2 MB / 0.677 GB, free: 8.938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.3994, allocations: 3.096 MB / 0.6801 GB, free: 5.832 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.3996, allocations: 11.88 kB / 0.6801 GB, free: 5.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.4001, allocations: 195 kB / 0.6803 GB, free: 5.629 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.4007, allocations: 346.1 kB / 0.6806 GB, free: 5.289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.4013, allocations: 398.6 kB / 0.681 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.402, allocations: 0.8093 MB / 0.6818 GB, free: 4.082 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.4021, allocations: 107.8 kB / 0.6819 GB, free: 3.984 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.4029, allocations: 418.3 kB / 0.6823 GB, free: 3.574 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.4032, allocations: 286.8 kB / 0.6825 GB, free: 3.293 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.4032, allocations: 12 kB / 0.6826 GB, free: 3.281 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.4041, allocations: 0.6977 MB / 0.6832 GB, free: 2.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.4042, allocations: 51.72 kB / 0.6833 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.4043, allocations: 171 kB / 0.6834 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.405, allocations: 0.662 MB / 0.6841 GB, free: 1.699 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.4051, allocations: 0 / 0.6841 GB, free: 1.699 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4051, allocations: 0 / 0.6841 GB, free: 1.699 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4051, allocations: 0 / 0.6841 GB, free: 1.699 MB / 490.7 MB 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.0009318/0.406, allocations: 0.6516 MB / 0.6847 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4061, allocations: 8.031 kB / 0.6847 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.365e-05/0.4061, allocations: 62.72 kB / 0.6848 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.4062, allocations: 44.47 kB / 0.6848 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.4064, allocations: 295.4 kB / 0.6851 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4065, allocations: 20.94 kB / 0.6851 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.4065, allocations: 28.28 kB / 0.6852 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.407, allocations: 307.3 kB / 0.6855 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.407, allocations: 0 / 0.6855 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.407, allocations: 12 kB / 0.6855 GB, free: 176 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.407, allocations: 12 kB / 0.6855 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.4074, allocations: 212 kB / 0.6857 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.4089, allocations: 1.554 MB / 0.6872 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.4094, allocations: 259.8 kB / 0.6875 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4096, allocations: 106.6 kB / 0.6876 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005313/0.4102, allocations: 473.4 kB / 0.688 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.4102, allocations: 42.56 kB / 0.688 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.4102, allocations: 0 / 0.688 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.0008872/0.4111, allocations: 459 kB / 0.6885 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.4111, allocations: 106.8 kB / 0.6886 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.4114, allocations: 292.5 kB / 0.6889 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4114, allocations: 33.7 kB / 0.6889 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4115, allocations: 192 kB / 0.6891 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.4116, allocations: 82.84 kB / 0.6892 GB, free: 12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.4116, allocations: 8.094 kB / 0.6892 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4117, allocations: 346.7 kB / 0.6895 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4119, allocations: 88.3 kB / 0.6896 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.4121, allocations: 166.2 kB / 0.6897 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.4125, allocations: 243 kB / 0.69 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4125, allocations: 0 / 0.69 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005451/0.4131, allocations: 333.8 kB / 0.6903 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4131, allocations: 7.938 kB / 0.6903 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4131, allocations: 4 kB / 0.6903 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/0.4133, allocations: 28.97 kB / 0.6903 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.4134, allocations: 51.91 kB / 0.6904 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008322/0.4143, allocations: 1.28 MB / 0.6916 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.4145, allocations: 35.67 kB / 0.6917 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.4145, allocations: 12 kB / 0.6917 GB, free: 9.227 MB / 0.4948 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 (27): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001211/0.4146, allocations: 149.8 kB / 0.6918 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.4147, allocations: 35.62 kB / 0.6919 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.4153, allocations: 315.4 kB / 0.6922 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.4153, allocations: 8 kB / 0.6922 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.4153, allocations: 0 / 0.6922 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4154, allocations: 4 kB / 0.6922 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.4158, allocations: 353.2 kB / 0.6925 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4158, allocations: 3.984 kB / 0.6925 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.416, allocations: 43.98 kB / 0.6925 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-05/0.416, allocations: 24.83 kB / 0.6926 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4161, allocations: 4 kB / 0.6926 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007584/0.4168, allocations: 1.295 MB / 0.6938 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4168, allocations: 0 / 0.6938 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.4176, allocations: 0.6395 MB / 0.6945 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.4177, allocations: 104.7 kB / 0.6946 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.4177, allocations: 11.94 kB / 0.6946 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.4179, allocations: 23.88 kB / 0.6946 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.418, allocations: 15.97 kB / 0.6946 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.418, allocations: 16.12 kB / 0.6946 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001619/0.4182, allocations: 211.1 kB / 0.6948 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4182, allocations: 0 / 0.6948 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004141/0.4186, allocations: 99.84 kB / 0.6949 GB, free: 5.648 MB / 0.4948 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 (18): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001125/0.4197, allocations: 1.267 MB / 0.6962 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.4204, allocations: 380.3 kB / 0.6965 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4204, allocations: 4.188 kB / 0.6965 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/0.4208, allocations: 264.3 kB / 0.6968 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.4214, allocations: 81.02 kB / 0.6969 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.4251, allocations: 3.401 MB / 0.7002 GB, free: 76 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.4255, allocations: 0.7792 MB / 0.7009 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.4256, allocations: 49.45 kB / 0.701 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.4258, allocations: 111.4 kB / 0.7011 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.542e-06/0.4258, allocations: 0 / 0.7011 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.504/0.9298, allocations: 8.825 MB / 0.7097 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.93, allocations: 260.9 kB / 0.71 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.95, allocations: 4.062 kB / 0.71 GB, free: 6.199 MB / 0.5105 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Boundaries_Tests_TestBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches