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.001682/0.001682, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003015/0.003015, allocations: 195.2 kB / 16.14 MB, free: 6.703 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8304/0.8304, allocations: 91.2 MB / 381.2 MB, free: 9.602 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002737, allocations: 85.39 kB / 459.6 MB, free: 23.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1806, allocations: 67.68 MB / 0.515 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.6797/0.8603, allocations: 286.4 MB / 0.7947 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03355/0.8939, allocations: 28.06 MB / 0.8221 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.8963, allocations: 55.62 kB / 0.8221 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.9004, allocations: 1.311 MB / 0.8234 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.4254/1.326, allocations: 4.08 MB / 0.8274 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/1.331, allocations: 1.816 MB / 0.8292 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004104/1.335, allocations: 3.328 MB / 0.8324 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008571/1.336, allocations: 0.5588 MB / 0.833 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/1.339, allocations: 1.264 MB / 0.8342 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/1.342, allocations: 1.022 MB / 0.8352 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002893/1.342, allocations: 95.06 kB / 0.8353 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02162/1.363, allocations: 10.13 MB / 0.8452 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.365, allocations: 456.7 kB / 0.8456 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001613/1.366, allocations: 0.7978 MB / 0.8464 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/1.38, allocations: 5.829 MB / 0.8521 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.38, allocations: 0 / 0.8521 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/1.38, allocations: 0.9844 kB / 0.8521 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.549e-05/1.38, allocations: 0 / 0.8521 GB, free: 3.703 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.007734/1.388, allocations: 2.7 MB / 0.8547 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.388, allocations: 9 kB / 0.8548 GB, free: 18.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/1.389, allocations: 176.4 kB / 0.8549 GB, free: 18.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.39, allocations: 0.9433 MB / 0.8558 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/1.39, allocations: 89.69 kB / 0.8559 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.39, allocations: 123.8 kB / 0.856 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/1.394, allocations: 1.77 MB / 0.8578 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/1.394, allocations: 1.875 kB / 0.8578 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/1.394, allocations: 50.12 kB / 0.8578 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.394, allocations: 110.8 kB / 0.8579 GB, free: 18.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/1.397, allocations: 1.885 MB / 0.8598 GB, free: 18.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008737/1.405, allocations: 7.956 MB / 0.8675 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.407, allocations: 0.9224 MB / 0.8684 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008617/1.408, allocations: 0.6833 MB / 0.8691 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/1.409, allocations: 2.351 MB / 0.8714 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.409, allocations: 46.5 kB / 0.8714 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 4.008e-06/1.409, allocations: 4 kB / 0.8715 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.006533/1.416, allocations: 3.838 MB / 0.8752 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/1.416, allocations: 62.94 kB / 0.8753 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/1.417, allocations: 0.7932 MB / 0.876 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/1.417, allocations: 42.83 kB / 0.8761 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/1.417, allocations: 0.5977 MB / 0.8767 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/1.417, allocations: 355.7 kB / 0.877 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/1.418, allocations: 183.9 kB / 0.8772 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.418, allocations: 342.1 kB / 0.8775 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006657/1.419, allocations: 0.4958 MB / 0.878 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/1.419, allocations: 0.5799 MB / 0.8785 GB, free: 8.746 MB / 0.6387 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.001703/1.421, allocations: 1.23 MB / 0.8798 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.421, allocations: 0 / 0.8798 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002529/1.424, allocations: 1.502 MB / 0.8812 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.424, allocations: 10.58 kB / 0.8812 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.424, allocations: 0 / 0.8812 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/1.424, allocations: 165.6 kB / 0.8814 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/1.425, allocations: 191.5 kB / 0.8816 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002787/1.428, allocations: 2.467 MB / 0.884 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/1.429, allocations: 95.03 kB / 0.8841 GB, free: 7.082 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.429, allocations: 63.78 kB / 0.8841 GB, free: 7.082 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (95): * Single equations (assignments): 89 * 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.0006282/1.429, allocations: 333.2 kB / 0.8844 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/1.43, allocations: 114.9 kB / 0.8846 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.433, allocations: 2.129 MB / 0.8866 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/1.433, allocations: 12.28 kB / 0.8866 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.433, allocations: 7.094 kB / 0.8867 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/1.433, allocations: 11.88 kB / 0.8867 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/1.438, allocations: 3.372 MB / 0.89 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.438, allocations: 3.938 kB / 0.89 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/1.439, allocations: 178.3 kB / 0.8901 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/1.439, allocations: 174.4 kB / 0.8903 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/1.439, allocations: 40.44 kB / 0.8903 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/1.442, allocations: 2.457 MB / 0.8927 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.442, allocations: 0 / 0.8927 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/1.446, allocations: 2.353 MB / 0.895 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/1.446, allocations: 177.6 kB / 0.8952 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/1.446, allocations: 25.56 kB / 0.8952 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/1.447, allocations: 93.98 kB / 0.8953 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.447, allocations: 86.12 kB / 0.8954 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.447, allocations: 64.62 kB / 0.8955 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007327/1.448, allocations: 0.581 MB / 0.896 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/1.448, allocations: 2.438 kB / 0.896 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002707/1.451, allocations: 0.9272 MB / 0.8969 GB, free: 4.094 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.00316/1.454, allocations: 1.212 MB / 0.8981 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002823/1.457, allocations: 1.508 MB / 0.8996 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.457, allocations: 0 / 0.8996 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.458, allocations: 0.929 MB / 0.9005 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.46, allocations: 397.3 kB / 0.9009 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/1.465, allocations: 3.337 MB / 0.9041 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/1.466, allocations: 1.259 MB / 0.9054 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001548/1.467, allocations: 0.6002 MB / 0.906 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/1.468, allocations: 134.4 kB / 0.9061 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.468, allocations: 0 / 0.9061 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of Templates: time 0.05684/1.525, allocations: 35.56 MB / 0.9408 GB, free: 14.28 MB / 0.6856 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Examples.SimpleStream.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches