Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_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.001357/0.001357, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 195.7 kB / 16.53 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.567/1.567, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9233/0.9233, allocations: 93.72 MB / 384.1 MB, free: 6.992 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002585, allocations: 85.44 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2237, allocations: 68.26 MB / 0.5193 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.7522/0.9761, allocations: 164.4 MB / 0.6798 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02098/0.9971, allocations: 12.93 MB / 0.6925 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.9995, allocations: 38.66 kB / 0.6925 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002342/1.002, allocations: 0.5818 MB / 0.6931 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00453/1.006, allocations: 0.8741 MB / 0.6939 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/1.01, allocations: 0.8149 MB / 0.6947 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003049/1.013, allocations: 1.36 MB / 0.696 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006744/1.014, allocations: 325.5 kB / 0.6964 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/1.015, allocations: 0.5465 MB / 0.6969 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/1.016, allocations: 0.6608 MB / 0.6975 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/1.017, allocations: 75.56 kB / 0.6976 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005236/1.022, allocations: 1.395 MB / 0.699 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/1.022, allocations: 195.1 kB / 0.6992 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007129/1.023, allocations: 0.5167 MB / 0.6997 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/1.027, allocations: 1.53 MB / 0.7012 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.027, allocations: 0 / 0.7012 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/1.027, allocations: 0 / 0.7012 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.012e-05/1.027, allocations: 0 / 0.7012 GB, free: 0.6875 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.003081/1.03, allocations: 1.434 MB / 0.7026 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.859e-05/1.03, allocations: 8.031 kB / 0.7026 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/1.03, allocations: 110.7 kB / 0.7027 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/1.031, allocations: 127.4 kB / 0.7028 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/1.032, allocations: 0.7249 MB / 0.7035 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/1.032, allocations: 54 kB / 0.7035 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.032, allocations: 72 kB / 0.7036 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.034, allocations: 0.7275 MB / 0.7043 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.034, allocations: 0 / 0.7043 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.006e-05/1.034, allocations: 28 kB / 0.7044 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/1.034, allocations: 16 kB / 0.7044 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/1.035, allocations: 0.6363 MB / 0.705 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/1.04, allocations: 3.136 MB / 0.7081 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/1.042, allocations: 0.5752 MB / 0.7086 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/1.042, allocations: 268 kB / 0.7089 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/1.045, allocations: 2.576 MB / 0.7114 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.045, allocations: 47.05 kB / 0.7114 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.304e-06/1.046, allocations: 0 / 0.7114 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56): time 0.004031/1.05, allocations: 1.777 MB / 0.7132 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/1.05, allocations: 55.97 kB / 0.7132 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.051, allocations: 0.7044 MB / 0.7139 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/1.051, allocations: 33.7 kB / 0.7139 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/1.051, allocations: 448.3 kB / 0.7144 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.051, allocations: 185.2 kB / 0.7145 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/1.051, allocations: 94.23 kB / 0.7146 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.052, allocations: 322 kB / 0.7149 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/1.052, allocations: 165 kB / 0.7151 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/1.053, allocations: 231.2 kB / 0.7153 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009415/1.054, allocations: 427.8 kB / 0.7157 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.054, allocations: 4 kB / 0.7157 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001304/1.055, allocations: 0.6508 MB / 0.7164 GB, free: 56 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.055, allocations: 4 kB / 0.7164 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.055, allocations: 0 / 0.7164 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/1.055, allocations: 120.8 kB / 0.7165 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/1.056, allocations: 92.95 kB / 0.7166 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/1.059, allocations: 2.05 MB / 0.7186 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/1.059, allocations: 12 kB / 0.7186 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/1.059, allocations: 32.05 kB / 0.7186 GB, free: 13.61 MB / 0.5294 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.0003968/1.06, allocations: 217.6 kB / 0.7188 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.06, allocations: 90.89 kB / 0.7189 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/1.062, allocations: 0.866 MB / 0.7198 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.062, allocations: 11.98 kB / 0.7198 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.062, allocations: 0 / 0.7198 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/1.062, allocations: 3.938 kB / 0.7198 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/1.065, allocations: 1.539 MB / 0.7213 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.065, allocations: 0 / 0.7213 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/1.065, allocations: 87.89 kB / 0.7214 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003965/1.065, allocations: 124.7 kB / 0.7215 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/1.065, allocations: 31.92 kB / 0.7215 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/1.068, allocations: 2.035 MB / 0.7235 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.068, allocations: 3.938 kB / 0.7235 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.07, allocations: 0.9754 MB / 0.7245 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/1.07, allocations: 159.9 kB / 0.7246 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/1.07, allocations: 15.98 kB / 0.7246 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/1.071, allocations: 12 kB / 0.7246 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.071, allocations: 56.5 kB / 0.7247 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/1.071, allocations: 19.98 kB / 0.7247 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008367/1.072, allocations: 0.5068 MB / 0.7252 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/1.072, allocations: 0 / 0.7252 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001121/1.073, allocations: 327.8 kB / 0.7255 GB, free: 6.25 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.003317/1.076, allocations: 1.913 MB / 0.7274 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.078, allocations: 0.6427 MB / 0.728 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.078, allocations: 0 / 0.728 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008148/1.079, allocations: 429.6 kB / 0.7284 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.08, allocations: 279.2 kB / 0.7287 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.092, allocations: 6.643 MB / 0.7352 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/1.093, allocations: 1.001 MB / 0.7361 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000704/1.094, allocations: 145.9 kB / 0.7363 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/1.094, allocations: 379.3 kB / 0.7367 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.683e-06/1.094, allocations: 4 kB / 0.7367 GB, free: 10.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07615/1.17, allocations: 25.42 MB / 0.7615 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.33, allocations: 3.984 kB / 0.7615 GB, free: 1.285 MB / 0.5606 GB (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_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_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches