Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.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.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.Turbine,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine",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.001838/0.001838, 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.003706/0.003706, allocations: 197.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.607/1.607, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8298/0.8298, allocations: 93.73 MB / 384.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002564/0.002564, allocations: 81.33 kB / 463.5 MB, free: 22.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1528, allocations: 68.27 MB / 0.5193 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Turbine): time 0.5437/0.6965, allocations: 149.3 MB / 0.6651 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.7122, allocations: 12.03 MB / 0.6769 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009948/0.7132, allocations: 20.53 kB / 0.6769 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.7143, allocations: 289.8 kB / 0.6772 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002403/0.7168, allocations: 0.5556 MB / 0.6777 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.7196, allocations: 0.7137 MB / 0.6784 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.721, allocations: 0.9351 MB / 0.6793 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.7213, allocations: 174.6 kB / 0.6795 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.7219, allocations: 394.9 kB / 0.6799 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000744/0.7227, allocations: 473.5 kB / 0.6803 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.7228, allocations: 55.09 kB / 0.6804 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.7254, allocations: 1.054 MB / 0.6814 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.7256, allocations: 151.8 kB / 0.6816 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.726, allocations: 335.5 kB / 0.6819 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.7284, allocations: 1.094 MB / 0.683 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7284, allocations: 0 / 0.683 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.7284, allocations: 0 / 0.683 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.7284, allocations: 0 / 0.683 GB, free: 0.6484 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002413/0.7309, allocations: 1.068 MB / 0.684 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7309, allocations: 10 kB / 0.684 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.731, allocations: 85.25 kB / 0.6841 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.7312, allocations: 71.31 kB / 0.6842 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.732, allocations: 490.8 kB / 0.6846 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.7321, allocations: 92.17 kB / 0.6847 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.7322, allocations: 52.28 kB / 0.6848 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.7334, allocations: 0.6535 MB / 0.6854 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.7334, allocations: 4.812 kB / 0.6854 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.7335, allocations: 20.78 kB / 0.6854 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.7335, allocations: 26.77 kB / 0.6855 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.7347, allocations: 0.6658 MB / 0.6861 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003913/0.7387, allocations: 2.469 MB / 0.6885 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.7399, allocations: 0.6197 MB / 0.6891 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006547/0.7406, allocations: 360 kB / 0.6895 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002855/0.7435, allocations: 2.622 MB / 0.692 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.7436, allocations: 37.22 kB / 0.6921 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 3.647e-06/0.7436, allocations: 0 / 0.6921 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64): time 0.004853/0.7484, allocations: 2.154 MB / 0.6942 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.7485, allocations: 59.97 kB / 0.6942 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.7491, allocations: 434 kB / 0.6946 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.54e-05/0.7492, allocations: 37.7 kB / 0.6947 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.7494, allocations: 253.5 kB / 0.6949 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.7496, allocations: 220.8 kB / 0.6951 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.7498, allocations: 106.2 kB / 0.6952 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.75, allocations: 370.8 kB / 0.6956 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.7505, allocations: 253.1 kB / 0.6958 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.7511, allocations: 332.6 kB / 0.6961 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.7522, allocations: 0.6103 MB / 0.6967 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7523, allocations: 0 / 0.6967 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001799/0.7541, allocations: 0.8424 MB / 0.6976 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7541, allocations: 7.938 kB / 0.6976 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.7541, allocations: 4 kB / 0.6976 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004663/0.7546, allocations: 136.8 kB / 0.6977 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.7551, allocations: 107.8 kB / 0.6978 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.7583, allocations: 2.48 MB / 0.7002 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.7587, allocations: 19.98 kB / 0.7002 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.7588, allocations: 27.98 kB / 0.7003 GB, free: 500 kB / 0.4981 GB 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.7591, allocations: 201.5 kB / 0.7005 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.7593, allocations: 59.34 kB / 0.7005 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.7614, allocations: 1.026 MB / 0.7015 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.7615, allocations: 4 kB / 0.7015 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7615, allocations: 8 kB / 0.7015 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7615, allocations: 3.984 kB / 0.7015 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.7645, allocations: 1.658 MB / 0.7031 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7645, allocations: 7.938 kB / 0.7032 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.765, allocations: 91.88 kB / 0.7032 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.7654, allocations: 132.7 kB / 0.7034 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.7655, allocations: 23.97 kB / 0.7034 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.7685, allocations: 2.402 MB / 0.7057 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7685, allocations: 0 / 0.7057 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.771, allocations: 1.256 MB / 0.707 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.7712, allocations: 124.3 kB / 0.7071 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.509e-05/0.7713, allocations: 12 kB / 0.7071 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.7716, allocations: 20.91 kB / 0.7071 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.7717, allocations: 48.48 kB / 0.7072 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.7718, allocations: 27.92 kB / 0.7072 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004349/0.7723, allocations: 334.9 kB / 0.7075 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7723, allocations: 0 / 0.7075 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001125/0.7734, allocations: 287.9 kB / 0.7078 GB, free: 8.516 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (turbine.m_flow,turbine1.m_flow,turbine1.phi,turbine1.omega) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003254/0.7767, allocations: 2.075 MB / 0.7098 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.7789, allocations: 0.9775 MB / 0.7108 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7789, allocations: 4.312 kB / 0.7108 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.78, allocations: 0.5791 MB / 0.7113 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7811, allocations: 206.1 kB / 0.7115 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.7913, allocations: 6.071 MB / 0.7175 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.7921, allocations: 0.9035 MB / 0.7183 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005707/0.7927, allocations: 140.7 kB / 0.7185 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.7931, allocations: 231.3 kB / 0.7187 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.152e-06/0.7931, allocations: 0 / 0.7187 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06587/0.859, allocations: 19.84 MB / 0.7381 GB, free: 9.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.34, allocations: 7.938 kB / 0.7381 GB, free: 9.414 MB / 0.545 GB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine_fmu --startTime=0 --stopTime=30 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_Turbine.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Turbine_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Turbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches