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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.803/1.803, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.08/1.08, allocations: 94.57 MB / 407 MB, free: 9.188 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 85.56 kB / 0.5549 GB, free: 38.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2028, allocations: 73.06 MB / 0.6263 GB, free: 456 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.8584/1.061, allocations: 165.5 MB / 0.7879 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.018/1.079, allocations: 13.09 MB / 0.8007 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/1.081, allocations: 54.84 kB / 0.8007 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002129/1.084, allocations: 0.5913 MB / 0.8013 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003295/1.087, allocations: 0.9001 MB / 0.8022 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003747/1.091, allocations: 0.8307 MB / 0.803 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002806/1.093, allocations: 1.368 MB / 0.8043 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006757/1.094, allocations: 200.7 kB / 0.8045 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.095, allocations: 0.5909 MB / 0.8051 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.096, allocations: 0.6691 MB / 0.8057 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/1.097, allocations: 77.69 kB / 0.8058 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/1.101, allocations: 1.419 MB / 0.8072 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/1.102, allocations: 198.6 kB / 0.8074 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006592/1.103, allocations: 0.5167 MB / 0.8079 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004923/1.107, allocations: 1.583 MB / 0.8094 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/1.107, allocations: 3.25 kB / 0.8094 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/1.107, allocations: 0 / 0.8094 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.558e-05/1.107, allocations: 0 / 0.8094 GB, free: 0.6523 MB / 0.5762 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.003059/1.111, allocations: 1.383 MB / 0.8108 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.111, allocations: 13.62 kB / 0.8108 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000275/1.111, allocations: 111.5 kB / 0.8109 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/1.111, allocations: 130.9 kB / 0.811 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.113, allocations: 0.7084 MB / 0.8117 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/1.113, allocations: 52.91 kB / 0.8118 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.113, allocations: 71.84 kB / 0.8119 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/1.115, allocations: 0.7397 MB / 0.8126 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/1.115, allocations: 0 / 0.8126 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.15e-05/1.115, allocations: 30.69 kB / 0.8126 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/1.115, allocations: 18.56 kB / 0.8126 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/1.116, allocations: 0.6463 MB / 0.8133 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004924/1.121, allocations: 3.069 MB / 0.8163 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/1.123, allocations: 0.5378 MB / 0.8168 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004144/1.123, allocations: 230.5 kB / 0.817 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/1.126, allocations: 0.9952 MB / 0.818 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/1.126, allocations: 37.59 kB / 0.818 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.244e-06/1.126, allocations: 2.562 kB / 0.818 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003618/1.129, allocations: 1.56 MB / 0.8195 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.129, allocations: 57.12 kB / 0.8196 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/1.13, allocations: 0.7018 MB / 0.8203 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/1.13, allocations: 36.41 kB / 0.8203 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004043/1.131, allocations: 451.5 kB / 0.8207 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/1.131, allocations: 200.5 kB / 0.8209 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.131, allocations: 89.95 kB / 0.821 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.131, allocations: 322.9 kB / 0.8213 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/1.132, allocations: 164.8 kB / 0.8215 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/1.132, allocations: 230.9 kB / 0.8217 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/1.133, allocations: 428 kB / 0.8221 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.133, allocations: 4.844 kB / 0.8221 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001299/1.134, allocations: 0.6471 MB / 0.8227 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/1.134, allocations: 4.75 kB / 0.8227 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.134, allocations: 2.594 kB / 0.8227 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/1.135, allocations: 113 kB / 0.8229 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.135, allocations: 102.8 kB / 0.823 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/1.138, allocations: 1.941 MB / 0.8248 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/1.138, allocations: 17.25 kB / 0.8249 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/1.138, allocations: 22.89 kB / 0.8249 GB, free: 7.277 MB / 0.5919 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.0004206/1.139, allocations: 204.9 kB / 0.8251 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/1.139, allocations: 96.42 kB / 0.8252 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/1.141, allocations: 0.859 MB / 0.826 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.141, allocations: 5.531 kB / 0.826 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/1.141, allocations: 6.656 kB / 0.826 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/1.141, allocations: 7.922 kB / 0.826 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/1.144, allocations: 1.5 MB / 0.8275 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.144, allocations: 5.938 kB / 0.8275 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/1.144, allocations: 87.05 kB / 0.8276 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/1.144, allocations: 122.9 kB / 0.8277 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.144, allocations: 19.86 kB / 0.8277 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/1.147, allocations: 1.951 MB / 0.8296 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.147, allocations: 0 / 0.8296 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/1.149, allocations: 0.9847 MB / 0.8306 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/1.149, allocations: 79.28 kB / 0.8307 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.962e-05/1.149, allocations: 13.34 kB / 0.8307 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/1.149, allocations: 19.3 kB / 0.8307 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.149, allocations: 54.34 kB / 0.8307 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/1.149, allocations: 19.28 kB / 0.8308 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008463/1.15, allocations: 0.5089 MB / 0.8313 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/1.15, allocations: 0 / 0.8313 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001169/1.151, allocations: 333.5 kB / 0.8316 GB, free: 2.566 MB / 0.5919 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.003291/1.155, allocations: 1.904 MB / 0.8334 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001459/1.156, allocations: 0.5839 MB / 0.834 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.156, allocations: 2.125 kB / 0.834 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/1.157, allocations: 416.1 kB / 0.8344 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.159, allocations: 274.9 kB / 0.8347 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.17, allocations: 6.312 MB / 0.8408 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009688/1.171, allocations: 1.005 MB / 0.8418 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005811/1.172, allocations: 153.8 kB / 0.842 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000618/1.172, allocations: 375.3 kB / 0.8423 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of SimCode: time 1.042e-06/1.172, allocations: 0 / 0.8423 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.294, allocations: 26.28 MB / 0.868 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.25, allocations: 7.984 kB / 0.868 GB, free: 1.055 MB / 0.6231 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv","/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) [Timeout 660] "Error: Could not read variable Time in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv. Warning: Get data of variable Time from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! Error: Could not read variable source.outlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv. Warning: Get data of variable source.outlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! Error: Could not read variable tanValve.inlet.m_flow in file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv. Warning: Get data of variable tanValve.inlet.m_flow from file ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.081308277000062]