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.005632/0.005632, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001374/0.001374, allocations: 192.4 kB / 16.79 MB, free: 5.809 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.292/1.292, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6866/0.6866, allocations: 89.51 MB / 380.1 MB, free: 11.23 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 86.38 kB / 458.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1184, allocations: 67.31 MB / 0.5132 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleStream): time 0.5499/0.6683, allocations: 285.9 MB / 0.7924 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0299/0.6982, allocations: 27.93 MB / 0.8196 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.6995, allocations: 19.94 kB / 0.8197 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.7028, allocations: 1.307 MB / 0.8209 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.713, allocations: 4.058 MB / 0.8249 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004653/0.7177, allocations: 1.807 MB / 0.8267 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.3579/1.076, allocations: 3.212 MB / 0.8298 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/1.077, allocations: 0.5368 MB / 0.8303 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/1.08, allocations: 1.201 MB / 0.8315 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.082, allocations: 1.006 MB / 0.8325 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/1.082, allocations: 98.41 kB / 0.8326 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0191/1.101, allocations: 10.13 MB / 0.8425 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/1.102, allocations: 438.1 kB / 0.8429 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001541/1.104, allocations: 0.7686 MB / 0.8436 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008345/1.112, allocations: 3.786 MB / 0.8473 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.112, allocations: 4 kB / 0.8473 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.635e-06/1.112, allocations: 0 / 0.8473 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.582e-05/1.112, allocations: 2.438 kB / 0.8473 GB, free: 4.496 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.006817/1.119, allocations: 2.556 MB / 0.8498 GB, free: 19.58 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.119, allocations: 11.31 kB / 0.8498 GB, free: 19.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/1.119, allocations: 157.2 kB / 0.85 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.121, allocations: 0.7661 MB / 0.8507 GB, free: 19.17 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/1.121, allocations: 87.58 kB / 0.8508 GB, free: 19.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.121, allocations: 126.9 kB / 0.851 GB, free: 19.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/1.123, allocations: 1.775 MB / 0.8527 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/1.123, allocations: 0 / 0.8527 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.124, allocations: 54.23 kB / 0.8527 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/1.124, allocations: 107.3 kB / 0.8528 GB, free: 19.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/1.126, allocations: 1.886 MB / 0.8547 GB, free: 19.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008637/1.135, allocations: 7.921 MB / 0.8624 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/1.136, allocations: 0.9136 MB / 0.8633 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/1.137, allocations: 0.6867 MB / 0.864 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/1.139, allocations: 2.351 MB / 0.8663 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.139, allocations: 45.34 kB / 0.8663 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=101): time 3.837e-06/1.139, allocations: 0 / 0.8663 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=103): time 0.006262/1.145, allocations: 3.794 MB / 0.87 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.145, allocations: 65.22 kB / 0.8701 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007926/1.146, allocations: 0.6665 MB / 0.8707 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/1.146, allocations: 43.27 kB / 0.8708 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/1.146, allocations: 0.5268 MB / 0.8713 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/1.146, allocations: 351.9 kB / 0.8716 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/1.147, allocations: 189.3 kB / 0.8718 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.147, allocations: 342.1 kB / 0.8721 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/1.147, allocations: 0.4994 MB / 0.8726 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007486/1.148, allocations: 0.5825 MB / 0.8732 GB, free: 9.82 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.001597/1.15, allocations: 1.238 MB / 0.8744 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/1.15, allocations: 0 / 0.8744 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002233/1.152, allocations: 1.493 MB / 0.8759 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.152, allocations: 3.562 kB / 0.8759 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.152, allocations: 6.469 kB / 0.8759 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/1.153, allocations: 163.3 kB / 0.876 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/1.153, allocations: 195.1 kB / 0.8762 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/1.156, allocations: 2.459 MB / 0.8786 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/1.157, allocations: 96.62 kB / 0.8787 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/1.157, allocations: 66.98 kB / 0.8788 GB, free: 8.164 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 (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.0006298/1.158, allocations: 328.4 kB / 0.8791 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.158, allocations: 93.59 kB / 0.8792 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/1.161, allocations: 2.118 MB / 0.8812 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/1.161, allocations: 10.78 kB / 0.8812 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.161, allocations: 5.312 kB / 0.8813 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.161, allocations: 3.562 kB / 0.8813 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004802/1.166, allocations: 3.326 MB / 0.8845 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.166, allocations: 2.75 kB / 0.8845 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.166, allocations: 180.6 kB / 0.8847 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005484/1.167, allocations: 173.7 kB / 0.8848 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.93e-05/1.167, allocations: 43.75 kB / 0.8849 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/1.17, allocations: 2.461 MB / 0.8873 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.17, allocations: 3 kB / 0.8873 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.173, allocations: 2.334 MB / 0.8896 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/1.173, allocations: 164.1 kB / 0.8897 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/1.173, allocations: 20.12 kB / 0.8897 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/1.174, allocations: 98.23 kB / 0.8898 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.174, allocations: 96.14 kB / 0.8899 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.174, allocations: 64.36 kB / 0.89 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006254/1.175, allocations: 0.498 MB / 0.8905 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.175, allocations: 0 / 0.8905 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002868/1.178, allocations: 0.9238 MB / 0.8914 GB, free: 5.23 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.002795/1.181, allocations: 1.2 MB / 0.8926 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002318/1.183, allocations: 1.524 MB / 0.894 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.183, allocations: 0 / 0.894 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/1.184, allocations: 0.932 MB / 0.895 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.186, allocations: 386 kB / 0.8953 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/1.191, allocations: 3.189 MB / 0.8984 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/1.192, allocations: 1.223 MB / 0.8996 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/1.192, allocations: 138.5 kB / 0.8998 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/1.192, allocations: 0 / 0.8998 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of Templates: time 0.04583/1.238, allocations: 34.41 MB / 0.9334 GB, free: 6.551 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