Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008375/0.0008377, allocations: 170.5 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205 MB / 221.9 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006874/0.0006874, allocations: 94.03 kB / 269.9 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5996/0.5996, allocations: 90.5 MB / 408.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002788, allocations: 12 kB / 484.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.232, allocations: 65.8 MB / 0.5377 GB, free: 35.02 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01199/0.244, allocations: 16.84 MB / 0.5542 GB, free: 22.11 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.2486, allocations: 6.672 MB / 0.5607 GB, free: 15.42 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.2489, allocations: 11.94 kB / 0.5607 GB, free: 15.41 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005387/0.2495, allocations: 242.7 kB / 0.561 GB, free: 15.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007782/0.2503, allocations: 449.3 kB / 0.5614 GB, free: 14.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.2508, allocations: 326.9 kB / 0.5617 GB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.2513, allocations: 0.7973 MB / 0.5625 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2515, allocations: 124.1 kB / 0.5626 GB, free: 13.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.2518, allocations: 250.8 kB / 0.5628 GB, free: 13.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.252, allocations: 258.7 kB / 0.5631 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.252, allocations: 20 kB / 0.5631 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.2526, allocations: 363.5 kB / 0.5634 GB, free: 12.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.2527, allocations: 79.56 kB / 0.5635 GB, free: 12.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.2528, allocations: 234.7 kB / 0.5637 GB, free: 12.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.2534, allocations: 0.7125 MB / 0.5644 GB, free: 11.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2534, allocations: 4 kB / 0.5644 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2534, allocations: 0 / 0.5644 GB, free: 11.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2534, allocations: 0 / 0.5644 GB, free: 11.57 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009606/0.2544, allocations: 0.7715 MB / 0.5652 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2545, allocations: 8.031 kB / 0.5652 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.2546, allocations: 60.28 kB / 0.5653 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2549, allocations: 359.7 kB / 0.5656 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2549, allocations: 37.31 kB / 0.5656 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.255, allocations: 40.38 kB / 0.5657 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.2555, allocations: 462.9 kB / 0.5661 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2556, allocations: 0 / 0.5661 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.2556, allocations: 16 kB / 0.5661 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2556, allocations: 8 kB / 0.5661 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.2562, allocations: 423.7 kB / 0.5665 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2578, allocations: 2.067 MB / 0.5686 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.2584, allocations: 472.9 kB / 0.569 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.2587, allocations: 202 kB / 0.5692 GB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/0.2597, allocations: 1.434 MB / 0.5706 GB, free: 4.754 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.2597, allocations: 38.56 kB / 0.5706 GB, free: 4.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.2597, allocations: 0 / 0.5706 GB, free: 4.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.004893/0.2646, allocations: 1.476 MB / 0.5721 GB, free: 3.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.696e-05/0.2646, allocations: 81.11 kB / 0.5722 GB, free: 3.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.2649, allocations: 333.6 kB / 0.5725 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2649, allocations: 33.7 kB / 0.5725 GB, free: 2.707 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.265, allocations: 232.4 kB / 0.5727 GB, free: 2.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.367e-05/0.265, allocations: 149.8 kB / 0.5729 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.2651, allocations: 12 kB / 0.5729 GB, free: 2.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.2651, allocations: 354.8 kB / 0.5732 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.2653, allocations: 132.8 kB / 0.5734 GB, free: 1.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.2656, allocations: 197.8 kB / 0.5735 GB, free: 1.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.266, allocations: 367.8 kB / 0.5739 GB, free: 1.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.266, allocations: 0 / 0.5739 GB, free: 1.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002308/0.2683, allocations: 0.8046 MB / 0.5747 GB, free: 440 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2684, allocations: 4 kB / 0.5747 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.2684, allocations: 0 / 0.5747 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/0.2707, allocations: 493.2 kB / 0.5752 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.2709, allocations: 67.91 kB / 0.5752 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.2725, allocations: 2.094 MB / 0.5773 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.2727, allocations: 51.67 kB / 0.5773 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2728, allocations: 12 kB / 0.5773 GB, free: 13.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.273, allocations: 159.7 kB / 0.5775 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.273, allocations: 39.53 kB / 0.5775 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.2757, allocations: 0.8555 MB / 0.5783 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2757, allocations: 0 / 0.5783 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2757, allocations: 0 / 0.5783 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2759, allocations: 168.4 kB / 0.5785 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/0.276, allocations: 4 kB / 0.5785 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.2762, allocations: 27.98 kB / 0.5785 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.2763, allocations: 39.94 kB / 0.5786 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001457/0.2778, allocations: 0.7433 MB / 0.5793 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001014/0.2788, allocations: 0.8625 MB / 0.5801 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002565/0.2791, allocations: 179.6 kB / 0.5803 GB, free: 10.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.2793, allocations: 227.2 kB / 0.5805 GB, free: 10.2 MB / 410.7 MB Notification: Performance of Backend: time 4.5e-07/0.2793, allocations: 0 / 0.5805 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.2807, allocations: 0.6862 MB / 0.5812 GB, free: 9.496 MB / 410.7 MB Notification: Performance of SimCode: time 0.00174/0.2824, allocations: 1.655 MB / 0.5828 GB, free: 7.793 MB / 410.7 MB Notification: Performance of Templates: time 0.01383/0.2963, allocations: 9.424 MB / 0.592 GB, free: 14.43 MB / 426.7 MB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-OM-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches