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.00141/0.00141, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.002156/0.002156, allocations: 209.8 kB / 23.03 MB, free: 4.43 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 0.819/0.819, allocations: 94.62 MB / 407.8 MB, free: 8.918 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="cs",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.00247/0.00247, allocations: 79.61 kB / 0.5557 GB, free: 38.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1693, allocations: 73.06 MB / 0.627 GB, free: 220 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.6495/0.8188, allocations: 142.9 MB / 0.7666 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.8341, allocations: 11.85 MB / 0.7781 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.8359, allocations: 57.66 kB / 0.7782 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.8378, allocations: 0.5123 MB / 0.7787 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.8411, allocations: 0.8879 MB / 0.7795 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.8438, allocations: 0.8027 MB / 0.7803 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.8463, allocations: 1.369 MB / 0.7817 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.8468, allocations: 203.7 kB / 0.7819 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.8481, allocations: 0.5869 MB / 0.7824 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/0.8491, allocations: 0.6725 MB / 0.7831 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.8492, allocations: 77.62 kB / 0.7832 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.8521, allocations: 1.232 MB / 0.7844 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.8523, allocations: 196.7 kB / 0.7846 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.8528, allocations: 426.4 kB / 0.785 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.8552, allocations: 1.573 MB / 0.7865 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8552, allocations: 2.719 kB / 0.7865 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8552, allocations: 1.062 kB / 0.7865 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.8552, allocations: 0 / 0.7865 GB, free: 2.562 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.002524/0.8577, allocations: 1.391 MB / 0.7879 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.8578, allocations: 8.188 kB / 0.7879 GB, free: 17.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.522e-05/0.8578, allocations: 20.88 kB / 0.7879 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/0.8579, allocations: 113.9 kB / 0.788 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.8582, allocations: 130.7 kB / 0.7881 GB, free: 17.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.8594, allocations: 0.707 MB / 0.7888 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.8594, allocations: 56.94 kB / 0.7889 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.8595, allocations: 68.94 kB / 0.7889 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.8607, allocations: 0.7417 MB / 0.7897 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.8607, allocations: 0.9375 kB / 0.7897 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-05/0.8608, allocations: 27.53 kB / 0.7897 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.8608, allocations: 18.44 kB / 0.7897 GB, free: 17.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.8617, allocations: 0.6559 MB / 0.7903 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.8645, allocations: 1.852 MB / 0.7922 GB, free: 16.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.8656, allocations: 0.5228 MB / 0.7927 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.8659, allocations: 227.8 kB / 0.7929 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.8675, allocations: 0.9116 MB / 0.7938 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.8675, allocations: 44.27 kB / 0.7938 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.944e-06/0.8675, allocations: 0 / 0.7938 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003196/0.8707, allocations: 1.557 MB / 0.7953 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.8707, allocations: 57.19 kB / 0.7954 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.8715, allocations: 0.7023 MB / 0.7961 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.8715, allocations: 36.73 kB / 0.7961 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.8718, allocations: 446.4 kB / 0.7965 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.8719, allocations: 198.6 kB / 0.7967 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.872, allocations: 95.11 kB / 0.7968 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8722, allocations: 322.4 kB / 0.7971 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.8725, allocations: 165.9 kB / 0.7973 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.8729, allocations: 229.1 kB / 0.7975 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.8735, allocations: 426.6 kB / 0.7979 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8735, allocations: 7.391 kB / 0.7979 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001162/0.8747, allocations: 0.648 MB / 0.7985 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.8747, allocations: 9.188 kB / 0.7986 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8747, allocations: 2.469 kB / 0.7986 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.8751, allocations: 113.5 kB / 0.7987 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.8754, allocations: 103.4 kB / 0.7988 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.8774, allocations: 1.927 MB / 0.8006 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.8778, allocations: 17.08 kB / 0.8007 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.8779, allocations: 26.31 kB / 0.8007 GB, free: 13.79 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.0003304/0.8782, allocations: 212.2 kB / 0.8009 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.8784, allocations: 93.3 kB / 0.801 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.8798, allocations: 0.8634 MB / 0.8018 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8798, allocations: 4.812 kB / 0.8018 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.8798, allocations: 5.328 kB / 0.8018 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8798, allocations: 6.844 kB / 0.8018 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.882, allocations: 1.415 MB / 0.8032 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.882, allocations: 0.8125 kB / 0.8032 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.8823, allocations: 89.55 kB / 0.8033 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.8827, allocations: 129.1 kB / 0.8034 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.8827, allocations: 18.3 kB / 0.8034 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.8848, allocations: 1.923 MB / 0.8053 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8848, allocations: 0 / 0.8053 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.8866, allocations: 0.9832 MB / 0.8063 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.8868, allocations: 84.91 kB / 0.8064 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.8869, allocations: 17.16 kB / 0.8064 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.8873, allocations: 13.41 kB / 0.8064 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8874, allocations: 52.77 kB / 0.8064 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.8874, allocations: 21.03 kB / 0.8065 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006594/0.8881, allocations: 0.5103 MB / 0.807 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.8881, allocations: 0 / 0.807 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001006/0.8891, allocations: 335.2 kB / 0.8073 GB, free: 10.88 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.00278/0.8919, allocations: 1.897 MB / 0.8091 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.8933, allocations: 0.5887 MB / 0.8097 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8933, allocations: 0 / 0.8097 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.894, allocations: 415.2 kB / 0.8101 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.8953, allocations: 274.8 kB / 0.8104 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/0.9048, allocations: 6.32 MB / 0.8165 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.9052, allocations: 416.5 kB / 0.8169 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005569/0.9058, allocations: 144.8 kB / 0.8171 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.9063, allocations: 375.4 kB / 0.8174 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of SimCode: time 1.283e-06/0.9063, allocations: 4.438 kB / 0.8174 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.9699, allocations: 27.33 MB / 0.8441 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/14.3, allocations: 7.438 kB / 0.8441 GB, free: 4.008 MB / 0.6075 GB " [Timeout remaining time 646] (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 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.227191073005088]