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.001399/0.001399, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001316/0.001316, allocations: 191 kB / 16.25 MB, free: 6.637 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5997/0.5997, allocations: 91.21 MB / 381.3 MB, free: 9.559 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 78.45 kB / 459.9 MB, free: 23.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1014, allocations: 67.69 MB / 0.5152 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3485/0.4499, allocations: 163.1 MB / 0.6745 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.4621, allocations: 12.97 MB / 0.6872 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.4632, allocations: 49.16 kB / 0.6873 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4646, allocations: 0.5207 MB / 0.6878 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.4664, allocations: 0.7958 MB / 0.6885 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.4682, allocations: 0.7427 MB / 0.6893 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.4695, allocations: 1.34 MB / 0.6906 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.4699, allocations: 316.7 kB / 0.6909 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.4705, allocations: 0.5524 MB / 0.6914 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.4711, allocations: 0.6671 MB / 0.6921 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.348e-05/0.4712, allocations: 78.88 kB / 0.6921 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.4734, allocations: 1.409 MB / 0.6935 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.4736, allocations: 196.2 kB / 0.6937 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/0.474, allocations: 0.5135 MB / 0.6942 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.4757, allocations: 1.523 MB / 0.6957 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4758, allocations: 0 / 0.6957 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4758, allocations: 0 / 0.6957 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4758, allocations: 0 / 0.6957 GB, free: 7.188 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.001978/0.4778, allocations: 1.426 MB / 0.6971 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4778, allocations: 8.031 kB / 0.6971 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001045/0.4779, allocations: 114.7 kB / 0.6972 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.4781, allocations: 115.5 kB / 0.6973 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.479, allocations: 0.725 MB / 0.698 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.479, allocations: 50 kB / 0.6981 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.4791, allocations: 68 kB / 0.6981 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.4801, allocations: 0.7314 MB / 0.6989 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4802, allocations: 0 / 0.6989 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.4802, allocations: 28 kB / 0.6989 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.4802, allocations: 19.94 kB / 0.6989 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009259/0.4812, allocations: 0.6432 MB / 0.6995 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.4841, allocations: 3.109 MB / 0.7026 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4851, allocations: 0.5791 MB / 0.7031 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.4855, allocations: 256 kB / 0.7034 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.4875, allocations: 2.584 MB / 0.7059 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4876, allocations: 35.12 kB / 0.7059 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 1.723e-06/0.4876, allocations: 0 / 0.7059 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.002982/0.4906, allocations: 1.785 MB / 0.7077 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4906, allocations: 55.97 kB / 0.7077 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.4913, allocations: 0.6888 MB / 0.7084 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.4913, allocations: 33.7 kB / 0.7084 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.4916, allocations: 432.3 kB / 0.7088 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4917, allocations: 193.2 kB / 0.709 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.4918, allocations: 98.23 kB / 0.7091 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.476e-05/0.4919, allocations: 322 kB / 0.7094 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4922, allocations: 161 kB / 0.7096 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.4926, allocations: 235.2 kB / 0.7098 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.4932, allocations: 427.7 kB / 0.7102 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4932, allocations: 7.938 kB / 0.7102 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001059/0.4943, allocations: 0.6469 MB / 0.7109 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4943, allocations: 8 kB / 0.7109 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4943, allocations: 160 / 0.7109 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.4947, allocations: 120.8 kB / 0.711 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.495, allocations: 99.81 kB / 0.7111 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.4969, allocations: 2.051 MB / 0.7131 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4973, allocations: 35.91 kB / 0.7131 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.4973, allocations: 28 kB / 0.7131 GB, free: 4.141 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.0002439/0.4976, allocations: 205.7 kB / 0.7133 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4977, allocations: 90.81 kB / 0.7134 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4991, allocations: 0.8685 MB / 0.7143 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4992, allocations: 4 kB / 0.7143 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4992, allocations: 0 / 0.7143 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4992, allocations: 12.03 kB / 0.7143 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.5012, allocations: 1.532 MB / 0.7158 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5012, allocations: 0 / 0.7158 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.5015, allocations: 95.98 kB / 0.7159 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.5019, allocations: 120.6 kB / 0.716 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5019, allocations: 19.98 kB / 0.716 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.5037, allocations: 2.043 MB / 0.718 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5037, allocations: 0 / 0.718 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.5052, allocations: 0.9793 MB / 0.719 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5053, allocations: 160 kB / 0.7191 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.5054, allocations: 15.98 kB / 0.7191 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.5058, allocations: 32.03 kB / 0.7192 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.5059, allocations: 48.44 kB / 0.7192 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.5059, allocations: 27.88 kB / 0.7192 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005256/0.5064, allocations: 0.5029 MB / 0.7197 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5064, allocations: 4 kB / 0.7197 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007869/0.5072, allocations: 331.8 kB / 0.72 GB, free: 12.78 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.002166/0.5094, allocations: 1.898 MB / 0.7219 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.5106, allocations: 0.6425 MB / 0.7225 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5106, allocations: 0 / 0.7225 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.5113, allocations: 442.1 kB / 0.7229 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.5124, allocations: 280.9 kB / 0.7232 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008227/0.5206, allocations: 6.918 MB / 0.73 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.5211, allocations: 1.001 MB / 0.7309 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000441/0.5215, allocations: 153.7 kB / 0.7311 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5219, allocations: 375.3 kB / 0.7314 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.522, allocations: 0 / 0.7314 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.519/2.041, allocations: 25.16 MB / 0.756 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/2.041, allocations: 232.2 kB / 0.7562 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/4.386, allocations: 0 / 0.7562 GB, free: 7.586 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