Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors",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.0008232/0.0008233, allocations: 180.2 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.103/1.103, allocations: 205 MB / 221.2 MB, free: 1.859 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.000648/0.0006479, allocations: 94.23 kB / 269.2 MB, free: 1.801 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.4735/0.4735, allocations: 90.52 MB / 407.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 484.3 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09259, allocations: 65.81 MB / 0.5372 GB, free: 1.617 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3563/0.4489, allocations: 221.7 MB / 0.7537 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2936/0.7425, allocations: 30.6 MB / 0.7836 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003782/0.7464, allocations: 47.41 kB / 0.7837 GB, free: 0.7852 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.7516, allocations: 1.495 MB / 0.7851 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008069/0.7597, allocations: 2.392 MB / 0.7875 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008421/0.7681, allocations: 2.272 MB / 0.7897 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.008373/0.7765, allocations: 5.48 MB / 0.795 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.7784, allocations: 0.8185 MB / 0.7958 GB, free: 16.31 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005347/0.7837, allocations: 1.856 MB / 0.7977 GB, free: 16.28 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004523/0.7883, allocations: 2.134 MB / 0.7997 GB, free: 16.27 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006788/0.789, allocations: 102.3 kB / 0.7998 GB, free: 16.27 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.7996, allocations: 4.186 MB / 0.8039 GB, free: 16.2 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.8007, allocations: 431.9 kB / 0.8043 GB, free: 16.2 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002921/0.8036, allocations: 1.206 MB / 0.8055 GB, free: 16.2 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.8143, allocations: 4.59 MB / 0.81 GB, free: 15.9 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8144, allocations: 0 / 0.81 GB, free: 15.9 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.985e-06/0.8144, allocations: 0 / 0.81 GB, free: 15.9 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.102e-05/0.8144, allocations: 2.531 kB / 0.81 GB, free: 15.9 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.005255/0.8197, allocations: 2.649 MB / 0.8126 GB, free: 14.58 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.8197, allocations: 8.969 kB / 0.8126 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002894/0.82, allocations: 289.5 kB / 0.8129 GB, free: 14.53 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.8204, allocations: 261.1 kB / 0.8131 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.8217, allocations: 1.12 MB / 0.8142 GB, free: 13.99 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.8218, allocations: 161.3 kB / 0.8144 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.8221, allocations: 213.6 kB / 0.8146 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.8255, allocations: 2.445 MB / 0.817 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.8255, allocations: 0 / 0.817 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.8257, allocations: 86.53 kB / 0.817 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.8257, allocations: 57.55 kB / 0.8171 GB, free: 13.8 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.8288, allocations: 2.285 MB / 0.8193 GB, free: 13.78 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.839, allocations: 11.91 MB / 0.831 GB, free: 5.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.842, allocations: 2.324 MB / 0.8332 GB, free: 5.617 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.8433, allocations: 1.083 MB / 0.8343 GB, free: 5.492 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006246/0.8495, allocations: 6.419 MB / 0.8406 GB, free: 0.8242 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/0.8512, allocations: 1.24 MB / 0.8418 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of pre-optimization done (n=217): time 3.266e-06/0.8512, allocations: 0 / 0.8418 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of matching and sorting (n=218): time 0.01004/0.8613, allocations: 6.362 MB / 0.848 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.8614, allocations: 106.3 kB / 0.8481 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009147/0.8623, allocations: 0.9824 MB / 0.849 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.8624, allocations: 59.89 kB / 0.8491 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.8628, allocations: 0.7698 MB / 0.8498 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.8633, allocations: 0.7336 MB / 0.8506 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.8634, allocations: 33.72 kB / 0.8506 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8635, allocations: 383.8 kB / 0.851 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8647, allocations: 0.8154 MB / 0.8518 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.8661, allocations: 1.008 MB / 0.8527 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.8689, allocations: 1.975 MB / 0.8547 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8689, allocations: 4 kB / 0.8547 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.004918/0.8739, allocations: 2.807 MB / 0.8574 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.8739, allocations: 33.7 kB / 0.8574 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8739, allocations: 8.094 kB / 0.8575 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.8756, allocations: 0.6292 MB / 0.8581 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000928/0.8766, allocations: 303 kB / 0.8584 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/0.8903, allocations: 15.19 MB / 0.8732 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.8916, allocations: 193.9 kB / 0.8734 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.8918, allocations: 83.97 kB / 0.8735 GB, free: 7.148 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007177/0.8925, allocations: 403.5 kB / 0.8738 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.8928, allocations: 177.8 kB / 0.874 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/0.8986, allocations: 3.353 MB / 0.8773 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.8986, allocations: 24 kB / 0.8773 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.8986, allocations: 8 kB / 0.8773 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.877e-05/0.8987, allocations: 11.95 kB / 0.8773 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008124/0.9068, allocations: 5.758 MB / 0.8829 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9068, allocations: 4 kB / 0.883 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.9078, allocations: 329.3 kB / 0.8833 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.9094, allocations: 0.54 MB / 0.8838 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.9095, allocations: 83.95 kB / 0.8839 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009752/0.9193, allocations: 14.07 MB / 0.8976 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9193, allocations: 6.891 kB / 0.8976 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006948/0.9262, allocations: 4.361 MB / 0.9019 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.9267, allocations: 266.5 kB / 0.9021 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9269, allocations: 50.91 kB / 0.9022 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.928, allocations: 147.6 kB / 0.9023 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/0.9284, allocations: 209 kB / 0.9025 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/0.9285, allocations: 87.89 kB / 0.9026 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007617/0.9293, allocations: 0.6671 MB / 0.9033 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-07/0.9293, allocations: 0 / 0.9033 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002549/0.9319, allocations: 0.906 MB / 0.9041 GB, free: 6.613 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,8,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008491/0.9404, allocations: 5.943 MB / 0.9099 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00526/0.9457, allocations: 3.859 MB / 0.9137 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9457, allocations: 0 / 0.9137 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/0.9491, allocations: 2.907 MB / 0.9166 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.9516, allocations: 0.5475 MB / 0.9171 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/0.9769, allocations: 18.38 MB / 0.935 GB, free: 5.91 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.9781, allocations: 1.539 MB / 0.9365 GB, free: 4.336 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001356/0.9794, allocations: 443.4 kB / 0.937 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.9805, allocations: 0.9132 MB / 0.9379 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/0.9805, allocations: 0 / 0.9379 GB, free: 3.016 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.137/2.117, allocations: 66.37 MB / 1.003 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/2.118, allocations: 250.8 kB / 1.003 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.742/5.86, allocations: 0 / 1.003 GB, free: 0.7383 MB / 0.7292 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Topology_Tests_TestConnectors.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches