Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 104.2 kB / 16.41 MB, free: 6.453 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.002215/0.002215, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7761/0.7761, allocations: 97.63 MB / 388.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 82.09 kB / 0.5268 GB, free: 38.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1113, allocations: 69.24 MB / 0.5944 GB, free: 380 kB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02626/0.1376, allocations: 22.89 MB / 0.6168 GB, free: 9.391 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.1493, allocations: 9.477 MB / 0.626 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007732/0.1501, allocations: 35.81 kB / 0.6261 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1512, allocations: 405.2 kB / 0.6264 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.1536, allocations: 0.8112 MB / 0.6272 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1549, allocations: 474.3 kB / 0.6277 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00153/0.1564, allocations: 1.159 MB / 0.6288 GB, free: 13 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1567, allocations: 159.3 kB / 0.629 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008568/0.1576, allocations: 489.9 kB / 0.6294 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.1581, allocations: 445.7 kB / 0.6299 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1582, allocations: 56 kB / 0.6299 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1596, allocations: 0.4995 MB / 0.6304 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1598, allocations: 167.2 kB / 0.6306 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004135/0.1602, allocations: 437.5 kB / 0.631 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1621, allocations: 1.202 MB / 0.6322 GB, free: 9.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1621, allocations: 0 / 0.6322 GB, free: 9.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1621, allocations: 0 / 0.6322 GB, free: 9.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.1621, allocations: 4 kB / 0.6322 GB, free: 9.551 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002385/0.1645, allocations: 1.295 MB / 0.6334 GB, free: 8.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1645, allocations: 8.031 kB / 0.6334 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.1648, allocations: 112.3 kB / 0.6335 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.166, allocations: 0.6641 MB / 0.6342 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.166, allocations: 49.3 kB / 0.6342 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1661, allocations: 63.95 kB / 0.6343 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1673, allocations: 0.6769 MB / 0.635 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.1673, allocations: 3.938 kB / 0.635 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/0.1674, allocations: 24 kB / 0.635 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1674, allocations: 16 kB / 0.635 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1685, allocations: 0.6219 MB / 0.6356 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004021/0.1725, allocations: 3.015 MB / 0.6386 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1736, allocations: 0.6133 MB / 0.6392 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000455/0.1741, allocations: 256.5 kB / 0.6394 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002375/0.1765, allocations: 1.897 MB / 0.6413 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1765, allocations: 43.12 kB / 0.6413 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 4.148e-06/0.1765, allocations: 3.984 kB / 0.6413 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01042/0.1869, allocations: 2.424 MB / 0.6437 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.187, allocations: 85.7 kB / 0.6437 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.1878, allocations: 0.602 MB / 0.6443 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.26e-05/0.1878, allocations: 41.64 kB / 0.6444 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.1882, allocations: 388.9 kB / 0.6447 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.1884, allocations: 237.9 kB / 0.645 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1885, allocations: 118.3 kB / 0.6451 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1887, allocations: 330 kB / 0.6454 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.1891, allocations: 213.2 kB / 0.6456 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.1896, allocations: 294.8 kB / 0.6459 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009287/0.1905, allocations: 0.5276 MB / 0.6464 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1905, allocations: 4 kB / 0.6464 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005325/0.1958, allocations: 1.381 MB / 0.6477 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1959, allocations: 4 kB / 0.6478 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1959, allocations: 4 kB / 0.6478 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/0.2012, allocations: 0.9352 MB / 0.6487 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.2016, allocations: 103.9 kB / 0.6488 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.2045, allocations: 2.935 MB / 0.6516 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.2049, allocations: 63.52 kB / 0.6517 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.205, allocations: 24.06 kB / 0.6517 GB, free: 4.484 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * 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: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/0.2053, allocations: 205.6 kB / 0.6519 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.2055, allocations: 83.48 kB / 0.652 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/0.211, allocations: 1.474 MB / 0.6534 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.211, allocations: 8 kB / 0.6534 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2111, allocations: 7.922 kB / 0.6534 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2111, allocations: 4 kB / 0.6535 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0064/0.2175, allocations: 2.133 MB / 0.6555 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2175, allocations: 0 / 0.6555 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.2178, allocations: 79.95 kB / 0.6556 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005242/0.2231, allocations: 0.9274 MB / 0.6565 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.2231, allocations: 19.98 kB / 0.6565 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/0.2259, allocations: 2.949 MB / 0.6594 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2259, allocations: 0 / 0.6594 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005805/0.2317, allocations: 1.768 MB / 0.6611 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.2321, allocations: 208.4 kB / 0.6613 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.2322, allocations: 15.98 kB / 0.6614 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.2326, allocations: 19.88 kB / 0.6614 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.2327, allocations: 44.5 kB / 0.6614 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.2327, allocations: 23.98 kB / 0.6614 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005615/0.2333, allocations: 427 kB / 0.6618 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2333, allocations: 0 / 0.6618 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009074/0.2342, allocations: 295.3 kB / 0.6621 GB, free: 9.473 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006081/0.2348, allocations: 398.5 kB / 0.6625 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.2362, allocations: 0.6628 MB / 0.6632 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.2362, allocations: 4 kB / 0.6632 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.237, allocations: 430.2 kB / 0.6636 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2382, allocations: 217.2 kB / 0.6638 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.2409, allocations: 1.551 MB / 0.6653 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/0.2416, allocations: 0.9503 MB / 0.6662 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003792/0.242, allocations: 108.9 kB / 0.6663 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.2421, allocations: 59.42 kB / 0.6664 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of SimCode: time 8.32e-07/0.2421, allocations: 0 / 0.6664 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.02943/0.2716, allocations: 16.03 MB / 0.682 GB, free: 5.172 MB / 0.5294 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -s gbode -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches