Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",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.0009063/0.0009063, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0009752/0.0009753, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.237/1.237, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5917/0.5917, allocations: 89.64 MB / 381.1 MB, free: 11.33 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.000402, allocations: 13.84 kB / 460.7 MB, free: 24.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 68.82 MB / 0.5172 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4299/0.5653, allocations: 160.4 MB / 0.6738 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01305/0.5784, allocations: 12.78 MB / 0.6863 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.5794, allocations: 19.88 kB / 0.6863 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.5806, allocations: 0.5131 MB / 0.6868 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.5825, allocations: 0.7575 MB / 0.6875 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.5844, allocations: 0.7048 MB / 0.6882 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.5858, allocations: 1.404 MB / 0.6896 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/0.5862, allocations: 275.9 kB / 0.6899 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.5868, allocations: 426 kB / 0.6903 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006605/0.5875, allocations: 0.5951 MB / 0.6908 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.5875, allocations: 36 kB / 0.6909 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.59, allocations: 1.349 MB / 0.6922 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5902, allocations: 139.2 kB / 0.6923 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.5905, allocations: 463.2 kB / 0.6928 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.5922, allocations: 1.363 MB / 0.6941 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5922, allocations: 4 kB / 0.6941 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5922, allocations: 3.938 kB / 0.6941 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.5923, allocations: 0 / 0.6941 GB, free: 5.676 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001862/0.5941, allocations: 1.15 MB / 0.6952 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5942, allocations: 8.031 kB / 0.6952 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.5943, allocations: 118.6 kB / 0.6954 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.5944, allocations: 103.7 kB / 0.6955 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.5951, allocations: 0.5539 MB / 0.696 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.5952, allocations: 50.38 kB / 0.696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.5953, allocations: 76.45 kB / 0.6961 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5964, allocations: 0.7391 MB / 0.6968 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5964, allocations: 3.984 kB / 0.6968 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.5964, allocations: 28 kB / 0.6969 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.5965, allocations: 20 kB / 0.6969 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009951/0.5975, allocations: 0.6441 MB / 0.6975 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.6005, allocations: 3.081 MB / 0.7005 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6017, allocations: 0.5909 MB / 0.7011 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.6021, allocations: 260 kB / 0.7014 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.6043, allocations: 2.6 MB / 0.7039 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.6043, allocations: 39.06 kB / 0.7039 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.024e-06/0.6043, allocations: 0 / 0.7039 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.003049/0.6074, allocations: 1.77 MB / 0.7057 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6074, allocations: 55.97 kB / 0.7057 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.608, allocations: 0.5706 MB / 0.7063 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.6081, allocations: 41.64 kB / 0.7063 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6083, allocations: 376.3 kB / 0.7067 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6084, allocations: 193.1 kB / 0.7069 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.6085, allocations: 45.7 kB / 0.7069 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6086, allocations: 382.8 kB / 0.7073 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.6089, allocations: 169 kB / 0.7074 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.6093, allocations: 235.2 kB / 0.7076 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006688/0.61, allocations: 443.8 kB / 0.7081 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.61, allocations: 0 / 0.7081 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001043/0.611, allocations: 0.6393 MB / 0.7087 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.611, allocations: 10.5 kB / 0.7087 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6111, allocations: 7.875 kB / 0.7087 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.6114, allocations: 112.9 kB / 0.7088 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.6118, allocations: 99.88 kB / 0.7089 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.6136, allocations: 1.9 MB / 0.7108 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.6139, allocations: 39.91 kB / 0.7108 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.6139, allocations: 28 kB / 0.7108 GB, free: 3.367 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.6142, allocations: 201.6 kB / 0.711 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.591e-05/0.6142, allocations: 67.16 kB / 0.7111 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6157, allocations: 0.8703 MB / 0.7119 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6157, allocations: 4 kB / 0.7119 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6157, allocations: 4 kB / 0.7119 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6157, allocations: 3.984 kB / 0.712 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.6177, allocations: 1.512 MB / 0.7134 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6177, allocations: 0 / 0.7134 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.618, allocations: 91.89 kB / 0.7135 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/0.6184, allocations: 124.7 kB / 0.7136 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.6184, allocations: 23.86 kB / 0.7137 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.6201, allocations: 1.906 MB / 0.7155 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6201, allocations: 0 / 0.7155 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.6215, allocations: 0.9794 MB / 0.7165 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6217, allocations: 152.2 kB / 0.7166 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.285e-05/0.6218, allocations: 12 kB / 0.7166 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.6221, allocations: 43.91 kB / 0.7167 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.6222, allocations: 52.5 kB / 0.7167 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.6222, allocations: 19.98 kB / 0.7167 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004374/0.6227, allocations: 435.1 kB / 0.7172 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6227, allocations: 0 / 0.7172 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007189/0.6234, allocations: 331.8 kB / 0.7175 GB, free: 12.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002126/0.6255, allocations: 1.902 MB / 0.7193 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.6266, allocations: 0.6231 MB / 0.7199 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6266, allocations: 320 / 0.7199 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/0.6272, allocations: 445.6 kB / 0.7204 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.6284, allocations: 238.3 kB / 0.7206 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007764/0.6362, allocations: 6.374 MB / 0.7268 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.6367, allocations: 0.9615 MB / 0.7278 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004301/0.6371, allocations: 136.8 kB / 0.7279 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/0.6375, allocations: 315.3 kB / 0.7282 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.6375, allocations: 0 / 0.7282 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.948/2.585, allocations: 22.79 MB / 0.7504 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/2.585, allocations: 216.5 kB / 0.7507 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/6.079, allocations: 3.938 kB / 0.7507 GB, free: 10.27 MB / 0.5606 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches