Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",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.001661/0.001661, allocations: 108 kB / 15.6 MB, free: 132 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.00172/0.001721, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.763/1.763, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9783/0.9783, allocations: 93.71 MB / 384.1 MB, free: 6.922 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 85.58 kB / 463.5 MB, free: 21.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2051, allocations: 68.25 MB / 0.5193 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.07581/0.2809, allocations: 37.02 MB / 0.5554 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03858/0.3196, allocations: 14.88 MB / 0.57 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/0.3225, allocations: 47.69 kB / 0.57 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.3269, allocations: 0.9561 MB / 0.5709 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008084/0.3352, allocations: 1.309 MB / 0.5722 GB, free: 468 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006071/0.3413, allocations: 1.023 MB / 0.5732 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006037/0.3473, allocations: 1.918 MB / 0.5751 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.3486, allocations: 334.8 kB / 0.5754 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.3521, allocations: 0.9496 MB / 0.5763 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.354, allocations: 0.6919 MB / 0.577 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003339/0.3543, allocations: 92 kB / 0.5771 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006028/0.3604, allocations: 0.8623 MB / 0.5779 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000753/0.3612, allocations: 326.6 kB / 0.5783 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.3628, allocations: 0.7221 MB / 0.579 GB, free: 9.508 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007743/0.3706, allocations: 2.048 MB / 0.581 GB, free: 7.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.3707, allocations: 4 kB / 0.581 GB, free: 7.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3707, allocations: 0 / 0.581 GB, free: 7.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.084e-05/0.3708, allocations: 0 / 0.581 GB, free: 7.449 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.008233/0.379, allocations: 2.021 MB / 0.5829 GB, free: 5.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.058e-05/0.3791, allocations: 12.03 kB / 0.583 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004095/0.3796, allocations: 123.1 kB / 0.5831 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.3804, allocations: 189.8 kB / 0.5832 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.3844, allocations: 1.135 MB / 0.5844 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/0.3845, allocations: 62 kB / 0.5844 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.3846, allocations: 84 kB / 0.5845 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.3866, allocations: 0.8571 MB / 0.5853 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3867, allocations: 0 / 0.5853 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.021e-05/0.3867, allocations: 36 kB / 0.5854 GB, free: 2.805 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/0.3868, allocations: 23.94 kB / 0.5854 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.3886, allocations: 0.7847 MB / 0.5862 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3644/0.753, allocations: 3.621 MB / 0.5897 GB, free: 68.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.7545, allocations: 0.6286 MB / 0.5903 GB, free: 68.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.7552, allocations: 333.9 kB / 0.5906 GB, free: 68.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004418/0.7596, allocations: 3.409 MB / 0.594 GB, free: 65.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.7597, allocations: 38.38 kB / 0.594 GB, free: 65.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=73): time 2.855e-06/0.7597, allocations: 0 / 0.594 GB, free: 65.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=73): time 0.002917/0.7626, allocations: 1.245 MB / 0.5952 GB, free: 64.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.7626, allocations: 59.19 kB / 0.5953 GB, free: 64.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.7648, allocations: 1.325 MB / 0.5966 GB, free: 63.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.7649, allocations: 41.17 kB / 0.5966 GB, free: 63.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/0.7654, allocations: 0.6211 MB / 0.5972 GB, free: 63.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.7656, allocations: 249.7 kB / 0.5974 GB, free: 63.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.7659, allocations: 145.8 kB / 0.5976 GB, free: 63.24 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.766, allocations: 338.2 kB / 0.5979 GB, free: 62.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7665, allocations: 216.9 kB / 0.5981 GB, free: 62.84 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.7671, allocations: 307.6 kB / 0.5984 GB, free: 62.67 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7682, allocations: 0.5379 MB / 0.5989 GB, free: 62.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7682, allocations: 0 / 0.5989 GB, free: 62.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002123/0.7704, allocations: 0.8333 MB / 0.5997 GB, free: 62.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.7704, allocations: 7.469 kB / 0.5997 GB, free: 62.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7704, allocations: 6.562 kB / 0.5998 GB, free: 62.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/0.771, allocations: 106.1 kB / 0.5999 GB, free: 61.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.7716, allocations: 139.6 kB / 0.6 GB, free: 61.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002597/0.7742, allocations: 3.214 MB / 0.6031 GB, free: 58.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007664/0.775, allocations: 61.28 kB / 0.6032 GB, free: 58.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.7751, allocations: 33.53 kB / 0.6032 GB, free: 58.88 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006515/0.7757, allocations: 322 kB / 0.6035 GB, free: 58.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.776, allocations: 152.3 kB / 0.6037 GB, free: 58.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.7784, allocations: 1.151 MB / 0.6048 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.7784, allocations: 7.219 kB / 0.6048 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7784, allocations: 2.625 kB / 0.6048 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.7785, allocations: 3.328 kB / 0.6048 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.7822, allocations: 2.006 MB / 0.6068 GB, free: 57.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7822, allocations: 3.094 kB / 0.6068 GB, free: 57.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.7827, allocations: 127.4 kB / 0.6069 GB, free: 57.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.7832, allocations: 119.8 kB / 0.607 GB, free: 57.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/0.7832, allocations: 30.05 kB / 0.607 GB, free: 57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.7854, allocations: 3.204 MB / 0.6102 GB, free: 53.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7854, allocations: 1.094 kB / 0.6102 GB, free: 53.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.7878, allocations: 1.226 MB / 0.6114 GB, free: 53.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005932/0.7884, allocations: 340.8 kB / 0.6117 GB, free: 53.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.7886, allocations: 23.7 kB / 0.6117 GB, free: 53.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.789, allocations: 20.05 kB / 0.6117 GB, free: 53.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.7892, allocations: 60.31 kB / 0.6118 GB, free: 53.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.7892, allocations: 29.48 kB / 0.6118 GB, free: 53.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001442/0.7907, allocations: 0.9441 MB / 0.6127 GB, free: 52.69 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7907, allocations: 0 / 0.6127 GB, free: 52.69 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001432/0.7921, allocations: 425.3 kB / 0.6131 GB, free: 52.59 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004348/0.7965, allocations: 2.422 MB / 0.6155 GB, free: 51.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.7986, allocations: 0.8614 MB / 0.6163 GB, free: 50.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7986, allocations: 0 / 0.6163 GB, free: 50.82 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.7996, allocations: 0.5688 MB / 0.6169 GB, free: 50.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.802, allocations: 418.8 kB / 0.6173 GB, free: 50.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.8202, allocations: 9.907 MB / 0.627 GB, free: 44.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.8211, allocations: 1.213 MB / 0.6282 GB, free: 43.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001344/0.8225, allocations: 247.7 kB / 0.6284 GB, free: 43.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007921/0.8233, allocations: 0.556 MB / 0.6289 GB, free: 43.24 MB / 462.1 MB Notification: Performance of SimCode: time 1.843e-06/0.8233, allocations: 0 / 0.6289 GB, free: 43.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08745/0.9107, allocations: 33.88 MB / 0.662 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.66, allocations: 8.062 kB / 0.662 GB, free: 13.22 MB / 462.1 MB (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.csv","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches