Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 182 kB / 15.98 MB, free: 5.77 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.293/1.293, allocations: 205.1 MB / 221.8 MB, free: 8.484 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.001016/0.001016, allocations: 98.3 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6658/0.6658, allocations: 91.23 MB / 407.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 63.84 kB / 483.5 MB, free: 6.59 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2622, allocations: 64.97 MB / 0.5357 GB, free: 33.7 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02414/0.2864, allocations: 22.83 MB / 0.558 GB, free: 14.81 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.2966, allocations: 9.422 MB / 0.5672 GB, free: 5.359 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007838/0.2974, allocations: 15.94 kB / 0.5672 GB, free: 5.344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.2985, allocations: 346.1 kB / 0.5675 GB, free: 5.004 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.3006, allocations: 0.6757 MB / 0.5682 GB, free: 4.324 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3018, allocations: 426.7 kB / 0.5686 GB, free: 3.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.303, allocations: 1.182 MB / 0.5697 GB, free: 2.719 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.3033, allocations: 195.8 kB / 0.5699 GB, free: 2.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000572/0.3039, allocations: 378.4 kB / 0.5703 GB, free: 2.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.3044, allocations: 398 kB / 0.5706 GB, free: 1.754 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.752e-05/0.3045, allocations: 40 kB / 0.5707 GB, free: 1.715 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.306, allocations: 0.5151 MB / 0.5712 GB, free: 1.199 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3061, allocations: 131.3 kB / 0.5713 GB, free: 1.07 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.3065, allocations: 374 kB / 0.5717 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.3086, allocations: 1.063 MB / 0.5727 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3086, allocations: 0 / 0.5727 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3086, allocations: 0 / 0.5727 GB, free: 15.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.3086, allocations: 0 / 0.5727 GB, free: 15.64 MB / 410.7 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.002461/0.3111, allocations: 1.118 MB / 0.5738 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3112, allocations: 8.031 kB / 0.5738 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.3115, allocations: 91.91 kB / 0.5739 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.3123, allocations: 465.4 kB / 0.5743 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.3123, allocations: 41.69 kB / 0.5744 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.3125, allocations: 64.38 kB / 0.5744 GB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.3139, allocations: 0.6684 MB / 0.5751 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.3139, allocations: 0 / 0.5751 GB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-05/0.314, allocations: 31.94 kB / 0.5751 GB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3141, allocations: 12 kB / 0.5751 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3155, allocations: 0.6375 MB / 0.5758 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004737/0.3203, allocations: 2.99 MB / 0.5787 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3218, allocations: 0.7262 MB / 0.5794 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/0.3225, allocations: 299.2 kB / 0.5797 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/0.3252, allocations: 1.916 MB / 0.5815 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3252, allocations: 39.12 kB / 0.5816 GB, free: 5.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=68): time 2.896e-06/0.3252, allocations: 0 / 0.5816 GB, free: 5.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=68): time 0.01321/0.3384, allocations: 2.451 MB / 0.584 GB, free: 3.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.3385, allocations: 85.67 kB / 0.5841 GB, free: 3.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.3392, allocations: 430.1 kB / 0.5845 GB, free: 2.848 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.3392, allocations: 33.7 kB / 0.5845 GB, free: 2.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3395, allocations: 316.3 kB / 0.5848 GB, free: 2.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.3397, allocations: 240.5 kB / 0.585 GB, free: 2.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.34, allocations: 114.7 kB / 0.5851 GB, free: 2.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3402, allocations: 374.8 kB / 0.5855 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005264/0.3407, allocations: 213.9 kB / 0.5857 GB, free: 1.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.3414, allocations: 306.3 kB / 0.586 GB, free: 1.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.3426, allocations: 0.5627 MB / 0.5865 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3426, allocations: 4 kB / 0.5865 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006829/0.3494, allocations: 1.385 MB / 0.5879 GB, free: 15.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3495, allocations: 4 kB / 0.5879 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3495, allocations: 4.062 kB / 0.5879 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/0.3561, allocations: 0.9313 MB / 0.5888 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005143/0.3566, allocations: 95.83 kB / 0.5889 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.3597, allocations: 2.83 MB / 0.5917 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.3603, allocations: 75.48 kB / 0.5917 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-05/0.3604, allocations: 27.92 kB / 0.5918 GB, free: 11.07 MB / 426.7 MB 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 (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003447/0.3608, allocations: 185.8 kB / 0.5919 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.361, allocations: 59.25 kB / 0.592 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007031/0.368, allocations: 1.452 MB / 0.5934 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.368, allocations: 8 kB / 0.5934 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3681, allocations: 192 / 0.5934 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3681, allocations: 7.969 kB / 0.5934 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008296/0.3764, allocations: 2.161 MB / 0.5955 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3764, allocations: 0 / 0.5955 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.3769, allocations: 83.92 kB / 0.5956 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006602/0.3835, allocations: 0.9313 MB / 0.5965 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.309e-05/0.3836, allocations: 19.98 kB / 0.5966 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003268/0.3869, allocations: 2.826 MB / 0.5993 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3869, allocations: 8.156 kB / 0.5993 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03589/0.4228, allocations: 12.17 MB / 0.6112 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.4232, allocations: 196.1 kB / 0.6114 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.4234, allocations: 23.88 kB / 0.6114 GB, free: 6.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.424, allocations: 35.83 kB / 0.6115 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4241, allocations: 44.5 kB / 0.6115 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.4242, allocations: 27.98 kB / 0.6115 GB, free: 5.906 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.4247, allocations: 290.9 kB / 0.6118 GB, free: 5.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4247, allocations: 0 / 0.6118 GB, free: 5.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001787/0.4265, allocations: 411.4 kB / 0.6122 GB, free: 5.223 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (46): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007355/0.4272, allocations: 397.9 kB / 0.6126 GB, free: 4.832 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001872/0.4291, allocations: 0.7223 MB / 0.6133 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4291, allocations: 4 kB / 0.6133 GB, free: 4.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.4302, allocations: 478.3 kB / 0.6137 GB, free: 3.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4317, allocations: 173.4 kB / 0.6139 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/0.436, allocations: 2.422 MB / 0.6163 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.4367, allocations: 0.9383 MB / 0.6172 GB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005958/0.4373, allocations: 99.97 kB / 0.6173 GB, free: 15.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.4375, allocations: 51.42 kB / 0.6173 GB, free: 15.83 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4375, allocations: 0 / 0.6173 GB, free: 15.83 MB / 458.7 MB Notification: Performance of Templates: time 0.0391/0.4766, allocations: 17.67 MB / 0.6346 GB, free: 14.29 MB / 474.7 MB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches