Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleStream.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: translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") translateModel(ThermofluidStream.Examples.SimpleStream,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|source.outlet.m_flow|thermalConduction.h|thermalConduction.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleStream") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009496, allocations: 92.23 kB / 16.02 MB, free: 80 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.001107/0.001107, allocations: 181.4 kB / 16.92 MB, free: 6.652 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.307/1.307, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6039/0.6039, allocations: 89.63 MB / 381.7 MB, free: 11.28 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 11.78 kB / 461.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 68.83 MB / 0.5177 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.533/0.6472, allocations: 281.7 MB / 0.7928 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.3741/1.021, allocations: 27.5 MB / 0.8197 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.023, allocations: 23.72 kB / 0.8197 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003276/1.026, allocations: 1.305 MB / 0.821 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01081/1.037, allocations: 4.053 MB / 0.825 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/1.041, allocations: 1.811 MB / 0.8267 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004181/1.046, allocations: 3.216 MB / 0.8299 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/1.047, allocations: 0.5279 MB / 0.8304 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/1.05, allocations: 1.123 MB / 0.8315 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.051, allocations: 0.8996 MB / 0.8324 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/1.051, allocations: 51.28 kB / 0.8324 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/1.069, allocations: 10.09 MB / 0.8423 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/1.07, allocations: 386.1 kB / 0.8426 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.071, allocations: 0.7129 MB / 0.8433 GB, free: 17.37 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006955/1.078, allocations: 3.757 MB / 0.847 GB, free: 17.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.078, allocations: 0 / 0.847 GB, free: 17.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/1.078, allocations: 4 kB / 0.847 GB, free: 17.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.808e-05/1.078, allocations: 0 / 0.847 GB, free: 17.16 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.00511/1.084, allocations: 2.289 MB / 0.8492 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.084, allocations: 7.5 kB / 0.8492 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/1.084, allocations: 158.8 kB / 0.8494 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/1.085, allocations: 0.7773 MB / 0.8501 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/1.085, allocations: 85.05 kB / 0.8502 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/1.085, allocations: 128.6 kB / 0.8504 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/1.087, allocations: 1.768 MB / 0.8521 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/1.087, allocations: 8.078 kB / 0.8521 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.476e-05/1.087, allocations: 45.77 kB / 0.8521 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/1.088, allocations: 110.7 kB / 0.8522 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/1.09, allocations: 1.88 MB / 0.8541 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007552/1.097, allocations: 7.93 MB / 0.8618 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.099, allocations: 0.9093 MB / 0.8627 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/1.099, allocations: 0.6958 MB / 0.8634 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.101, allocations: 2.349 MB / 0.8657 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.101, allocations: 45.81 kB / 0.8657 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=101): time 3.216e-06/1.101, allocations: 0 / 0.8657 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=103): time 0.005726/1.107, allocations: 3.798 MB / 0.8694 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/1.107, allocations: 69.62 kB / 0.8695 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/1.107, allocations: 0.6607 MB / 0.8701 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/1.107, allocations: 43.55 kB / 0.8702 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/1.108, allocations: 0.5275 MB / 0.8707 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/1.108, allocations: 356.5 kB / 0.871 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.108, allocations: 72.66 kB / 0.8711 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.108, allocations: 343.7 kB / 0.8714 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006499/1.109, allocations: 0.4992 MB / 0.8719 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/1.109, allocations: 0.5825 MB / 0.8725 GB, free: 5.973 MB / 0.6231 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system (0.0 = $START.thermalConduction.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/1.111, allocations: 1.233 MB / 0.8737 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.111, allocations: 3.938 kB / 0.8737 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002077/1.113, allocations: 1.482 MB / 0.8751 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.113, allocations: 7.844 kB / 0.8752 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/1.113, allocations: 4.094 kB / 0.8752 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/1.114, allocations: 174.9 kB / 0.8753 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/1.114, allocations: 191.2 kB / 0.8755 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/1.117, allocations: 2.472 MB / 0.8779 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/1.118, allocations: 96.17 kB / 0.878 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.118, allocations: 66.91 kB / 0.8781 GB, free: 3.82 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: thermalConduction.deltaE_system = $START.thermalConduction.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 90 * Array equations: 5 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005002/1.118, allocations: 324.3 kB / 0.8784 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/1.118, allocations: 93.88 kB / 0.8785 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/1.122, allocations: 2.106 MB / 0.8805 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.122, allocations: 13.72 kB / 0.8805 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.122, allocations: 3.344 kB / 0.8805 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/1.122, allocations: 7.969 kB / 0.8806 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/1.126, allocations: 3.344 MB / 0.8838 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.126, allocations: 3.984 kB / 0.8838 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005997/1.127, allocations: 175.7 kB / 0.884 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/1.127, allocations: 172.6 kB / 0.8842 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.008e-05/1.128, allocations: 41.91 kB / 0.8842 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/1.13, allocations: 2.47 MB / 0.8866 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.13, allocations: 0 / 0.8866 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/1.133, allocations: 2.329 MB / 0.8889 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/1.134, allocations: 179.5 kB / 0.8891 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.134, allocations: 19.59 kB / 0.8891 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/1.135, allocations: 100.6 kB / 0.8892 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.135, allocations: 91.84 kB / 0.8893 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.135, allocations: 67.98 kB / 0.8893 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005861/1.135, allocations: 0.4958 MB / 0.8898 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/1.135, allocations: 0 / 0.8898 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002598/1.138, allocations: 0.9252 MB / 0.8907 GB, free: 15.29 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (thermalConduction.h,heatCapacitor.T,flowResistance2.inlet.m_flow,flowResistance3.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 (91): * Single equations (assignments): 85 * Array equations: 5 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00335/1.141, allocations: 1.214 MB / 0.8919 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002307/1.144, allocations: 1.525 MB / 0.8934 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.144, allocations: 0 / 0.8934 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.145, allocations: 0.9293 MB / 0.8943 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.147, allocations: 378.9 kB / 0.8947 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004656/1.152, allocations: 3.318 MB / 0.8979 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008733/1.152, allocations: 1.219 MB / 0.8991 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/1.153, allocations: 143.3 kB / 0.8992 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/1.153, allocations: 0 / 0.8992 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of Templates: time 0.04633/1.199, allocations: 34.24 MB / 0.9327 GB, free: 9.473 MB / 0.67 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleStream -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleStream.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Examples.SimpleStream_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Examples.SimpleStream_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches