Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.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.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestSplitter,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter",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.008399/0.008405, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001528/0.001529, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.696/0.696, allocations: 91.18 MB / 381.7 MB, free: 7.488 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 75.88 kB / 0.5164 GB, free: 4.602 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3154, allocations: 67.68 MB / 0.5825 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestSplitter): time 0.1426/0.458, allocations: 141.5 MB / 0.7207 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.4625, allocations: 4.151 MB / 0.7247 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.4628, allocations: 11.94 kB / 0.7247 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.4635, allocations: 167 kB / 0.7249 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.4641, allocations: 206.6 kB / 0.7251 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.4645, allocations: 119.6 kB / 0.7252 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.465, allocations: 382.2 kB / 0.7256 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.4652, allocations: 98.27 kB / 0.7257 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004171/0.4656, allocations: 179.2 kB / 0.7258 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.4659, allocations: 183.2 kB / 0.726 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.466, allocations: 16 kB / 0.726 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005415/0.4665, allocations: 271.5 kB / 0.7263 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.4666, allocations: 51.73 kB / 0.7263 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.4668, allocations: 139.2 kB / 0.7265 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.4673, allocations: 382.7 kB / 0.7268 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4674, allocations: 0 / 0.7268 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4674, allocations: 3.938 kB / 0.7268 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.4674, allocations: 4 kB / 0.7268 GB, free: 9.688 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009928/0.4684, allocations: 0.5921 MB / 0.7274 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4684, allocations: 12.03 kB / 0.7274 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.727e-05/0.4685, allocations: 50.73 kB / 0.7275 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.4686, allocations: 40.47 kB / 0.7275 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.4691, allocations: 363.2 kB / 0.7279 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4691, allocations: 16.75 kB / 0.7279 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.4692, allocations: 20.38 kB / 0.7279 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.4695, allocations: 233.5 kB / 0.7281 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4696, allocations: 0 / 0.7281 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4696, allocations: 4 kB / 0.7281 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4696, allocations: 4 kB / 0.7281 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.4698, allocations: 135.9 kB / 0.7282 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4709, allocations: 0.7575 MB / 0.729 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4712, allocations: 142.5 kB / 0.7291 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4713, allocations: 68.83 kB / 0.7292 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.4715, allocations: 247.3 kB / 0.7294 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4715, allocations: 34.56 kB / 0.7295 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.4715, allocations: 0 / 0.7295 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001552/0.4731, allocations: 0.9091 MB / 0.7303 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.4731, allocations: 59.41 kB / 0.7304 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4735, allocations: 325.7 kB / 0.7307 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4735, allocations: 29.7 kB / 0.7307 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4736, allocations: 172.2 kB / 0.7309 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.4737, allocations: 55.2 kB / 0.731 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.4738, allocations: 41.64 kB / 0.731 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4739, allocations: 342.8 kB / 0.7313 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.474, allocations: 51.97 kB / 0.7314 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.4741, allocations: 67.08 kB / 0.7314 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.4743, allocations: 123.7 kB / 0.7316 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4743, allocations: 0 / 0.7316 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004508/0.4747, allocations: 273.8 kB / 0.7318 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4748, allocations: 4 kB / 0.7318 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4748, allocations: 0 / 0.7318 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.4751, allocations: 92.72 kB / 0.7319 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.4752, allocations: 20 kB / 0.7319 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/0.4772, allocations: 1.95 MB / 0.7338 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.4773, allocations: 4.219 kB / 0.7338 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4773, allocations: 8.141 kB / 0.7338 GB, free: 1.938 MB / 0.5762 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 (11): * Single equations (assignments): 10 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4775, allocations: 154.7 kB / 0.734 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.4775, allocations: 39.55 kB / 0.734 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.478, allocations: 286 kB / 0.7343 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.478, allocations: 11.94 kB / 0.7343 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.478, allocations: 0 / 0.7343 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4781, allocations: 0 / 0.7343 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007667/0.4788, allocations: 0.6108 MB / 0.7349 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4788, allocations: 0 / 0.7349 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.4789, allocations: 15.98 kB / 0.7349 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002849/0.4792, allocations: 100.7 kB / 0.735 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.4792, allocations: 8 kB / 0.735 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2775/0.7567, allocations: 1.942 MB / 0.7369 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7567, allocations: 1.062 kB / 0.7369 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.7573, allocations: 413 kB / 0.7373 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.7574, allocations: 101.6 kB / 0.7374 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.7574, allocations: 7.141 kB / 0.7374 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.7575, allocations: 2.312 kB / 0.7374 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.7576, allocations: 26.97 kB / 0.7374 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.7576, allocations: 4.391 kB / 0.7375 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000251/0.7579, allocations: 250.1 kB / 0.7377 GB, free: 153 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7579, allocations: 0.5 kB / 0.7377 GB, free: 153 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004067/0.7583, allocations: 74 kB / 0.7378 GB, free: 153 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (sink.inlet.m_flow,sink1.inlet.m_flow,sink2.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 (5): * Single equations (assignments): 4 * 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 {(3,6,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008332/0.7591, allocations: 1.003 MB / 0.7387 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000579/0.7597, allocations: 294.4 kB / 0.739 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7597, allocations: 5 kB / 0.739 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.7601, allocations: 244.1 kB / 0.7393 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/0.7608, allocations: 110.2 kB / 0.7394 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.7644, allocations: 3.075 MB / 0.7424 GB, free: 150 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.7647, allocations: 0.7813 MB / 0.7431 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.7648, allocations: 39 kB / 0.7432 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.7649, allocations: 94.91 kB / 0.7433 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.7649, allocations: 384 / 0.7433 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.7993, allocations: 9.02 MB / 0.7521 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.821/10.62, allocations: 6.797 kB / 0.7521 GB, free: 143.4 MB / 0.5762 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestSplitter.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestSplitter_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestSplitter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches