Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4974/0.4974, allocations: 80.17 MB / 339.4 MB, free: 7.551 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.SourceSink,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.4924 GB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.202e-05, allocations: 2.281 kB / 0.4924 GB, free: 6.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1078/0.1078, allocations: 122.7 MB / 0.6122 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1091, allocations: 1.445 MB / 0.6136 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1093, allocations: 27.75 kB / 0.6137 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.1097, allocations: 127 kB / 0.6138 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1101, allocations: 214.6 kB / 0.614 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1105, allocations: 215 kB / 0.6142 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1108, allocations: 418.1 kB / 0.6146 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1109, allocations: 44.84 kB / 0.6146 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.1114, allocations: 298.9 kB / 0.6149 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1115, allocations: 107.7 kB / 0.615 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1115, allocations: 12 kB / 0.615 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.1119, allocations: 223.5 kB / 0.6152 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.112, allocations: 35.8 kB / 0.6153 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.112, allocations: 63.78 kB / 0.6153 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003992/0.1124, allocations: 326.8 kB / 0.6156 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1124, allocations: 0 / 0.6156 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1124, allocations: 0 / 0.6156 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.1124, allocations: 0 / 0.6156 GB, free: 9.785 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006602/0.1131, allocations: 0.5085 MB / 0.6161 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1131, allocations: 9.469 kB / 0.6162 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.1132, allocations: 46.73 kB / 0.6162 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1132, allocations: 32.75 kB / 0.6162 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.1137, allocations: 312.2 kB / 0.6165 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1137, allocations: 8.609 kB / 0.6165 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1137, allocations: 16.33 kB / 0.6165 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1139, allocations: 148.9 kB / 0.6167 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1139, allocations: 192 / 0.6167 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1139, allocations: 7.938 kB / 0.6167 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1139, allocations: 4 kB / 0.6167 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.713e-05/0.114, allocations: 71.91 kB / 0.6168 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.1146, allocations: 0.6912 MB / 0.6174 GB, free: 7.805 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1147, allocations: 73.17 kB / 0.6175 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.1148, allocations: 37.8 kB / 0.6176 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.1149, allocations: 7.938 kB / 0.6176 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1149, allocations: 38.56 kB / 0.6176 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.1149, allocations: 0 / 0.6176 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004412/0.1153, allocations: 183 kB / 0.6178 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1154, allocations: 81.11 kB / 0.6178 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1156, allocations: 345.6 kB / 0.6182 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1156, allocations: 25.7 kB / 0.6182 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.1157, allocations: 164.1 kB / 0.6184 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.1157, allocations: 39.62 kB / 0.6184 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1158, allocations: 21.72 kB / 0.6184 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.1158, allocations: 346.7 kB / 0.6187 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.1159, allocations: 20 kB / 0.6188 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.1159, allocations: 43.42 kB / 0.6188 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.116, allocations: 75.36 kB / 0.6189 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.116, allocations: 4 kB / 0.6189 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001907/0.1162, allocations: 159.1 kB / 0.619 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1162, allocations: 4 kB / 0.619 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1162, allocations: 0 / 0.619 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.1164, allocations: 41.64 kB / 0.6191 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/0.1164, allocations: 15.92 kB / 0.6191 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.118, allocations: 2.553 MB / 0.6216 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.118, allocations: 15.88 kB / 0.6216 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.118, allocations: 0 / 0.6216 GB, free: 3.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.1182, allocations: 138.8 kB / 0.6217 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1182, allocations: 31.81 kB / 0.6218 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.1184, allocations: 159.5 kB / 0.6219 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1184, allocations: 0 / 0.6219 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1184, allocations: 0 / 0.6219 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1184, allocations: 0 / 0.6219 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1188, allocations: 0.4923 MB / 0.6224 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1188, allocations: 0 / 0.6224 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.1188, allocations: 7.984 kB / 0.6224 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-05/0.1189, allocations: 41.58 kB / 0.6224 GB, free: 2.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1189, allocations: 8.172 kB / 0.6225 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.12, allocations: 2.555 MB / 0.6249 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.12, allocations: 3.938 kB / 0.625 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1202, allocations: 337.9 kB / 0.6253 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.1202, allocations: 36.14 kB / 0.6253 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.1202, allocations: 8 kB / 0.6253 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1203, allocations: 0 / 0.6253 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.1203, allocations: 15.92 kB / 0.6253 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1203, allocations: 7.938 kB / 0.6253 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001709/0.1205, allocations: 243.1 kB / 0.6256 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1205, allocations: 0 / 0.6256 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002908/0.1208, allocations: 59.88 kB / 0.6256 GB, free: 14.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * 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,1,100.0%), (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.0005501/0.1214, allocations: 0.9185 MB / 0.6265 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1217, allocations: 277.2 kB / 0.6268 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1217, allocations: 4 kB / 0.6268 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1218, allocations: 257.5 kB / 0.627 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.1223, allocations: 101.5 kB / 0.6271 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.1245, allocations: 2.637 MB / 0.6297 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1246, allocations: 151.8 kB / 0.6299 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.609e-05/0.1247, allocations: 34.91 kB / 0.6299 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.1248, allocations: 88.47 kB / 0.63 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.332e-06/0.1248, allocations: 0 / 0.63 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.1535, allocations: 8.575 MB / 0.6383 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/7.83, allocations: 4.062 kB / 0.6384 GB, free: 1.625 MB / 0.5417 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_SourceSink.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.368839601054788]