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.001688/0.001688, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001958/0.001958, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.755/0.755, allocations: 93.69 MB / 384.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002575/0.002575, allocations: 83.86 kB / 463.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1462, allocations: 68.27 MB / 0.5194 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.2593/0.4055, allocations: 23.27 MB / 0.5421 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00863/0.4142, allocations: 9.479 MB / 0.5513 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.4156, allocations: 37.53 kB / 0.5514 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.4167, allocations: 364.6 kB / 0.5517 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.419, allocations: 0.719 MB / 0.5524 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.4201, allocations: 436.8 kB / 0.5528 GB, free: 24.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.4213, allocations: 1.151 MB / 0.554 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.4217, allocations: 240.3 kB / 0.5542 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.4224, allocations: 478.5 kB / 0.5546 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004295/0.4228, allocations: 443.6 kB / 0.5551 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.423, allocations: 61.72 kB / 0.5551 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.4243, allocations: 0.5045 MB / 0.5556 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.4244, allocations: 160.9 kB / 0.5558 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.4247, allocations: 435.6 kB / 0.5562 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.4258, allocations: 0.8679 MB / 0.557 GB, free: 22.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4258, allocations: 1.25 kB / 0.557 GB, free: 22.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4258, allocations: 1.781 kB / 0.557 GB, free: 22.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4258, allocations: 0 / 0.557 GB, free: 22.71 MB / 446.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.001991/0.4278, allocations: 1.261 MB / 0.5583 GB, free: 21.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4279, allocations: 8.906 kB / 0.5583 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.4281, allocations: 109.2 kB / 0.5584 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008004/0.429, allocations: 0.6008 MB / 0.559 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.429, allocations: 49.77 kB / 0.559 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.4291, allocations: 72.11 kB / 0.5591 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4301, allocations: 0.6676 MB / 0.5597 GB, free: 21.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.4302, allocations: 0 / 0.5597 GB, free: 21.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.4302, allocations: 26.72 kB / 0.5598 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4302, allocations: 15.03 kB / 0.5598 GB, free: 20.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.4312, allocations: 0.6305 MB / 0.5604 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.4346, allocations: 3.003 MB / 0.5633 GB, free: 18.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.4356, allocations: 0.6659 MB / 0.564 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.436, allocations: 287 kB / 0.5643 GB, free: 18.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001893/0.4379, allocations: 1.909 MB / 0.5661 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4379, allocations: 38.72 kB / 0.5662 GB, free: 16.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.4379, allocations: 1.375 kB / 0.5662 GB, free: 16.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01047/0.4484, allocations: 2.426 MB / 0.5685 GB, free: 15.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4485, allocations: 89.84 kB / 0.5686 GB, free: 15.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.4494, allocations: 0.601 MB / 0.5692 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.389e-05/0.4494, allocations: 39.73 kB / 0.5692 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.4497, allocations: 382.2 kB / 0.5696 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4498, allocations: 235.7 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.45, allocations: 116 kB / 0.5699 GB, free: 14.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.278e-05/0.4501, allocations: 327.8 kB / 0.5703 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.4504, allocations: 205.3 kB / 0.5704 GB, free: 14.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4509, allocations: 300.8 kB / 0.5707 GB, free: 13.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/0.4517, allocations: 0.5271 MB / 0.5712 GB, free: 13.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4517, allocations: 1.312 kB / 0.5712 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005032/0.4567, allocations: 1.386 MB / 0.5726 GB, free: 13.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4568, allocations: 5.5 kB / 0.5726 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4568, allocations: 6.812 kB / 0.5726 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/0.4617, allocations: 0.9361 MB / 0.5735 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.4622, allocations: 94.14 kB / 0.5736 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.4641, allocations: 2.939 MB / 0.5765 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/0.4648, allocations: 73.73 kB / 0.5766 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.4649, allocations: 23.25 kB / 0.5766 GB, free: 10.3 MB / 446.1 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 (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.0002854/0.4652, allocations: 205 kB / 0.5768 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4653, allocations: 75.92 kB / 0.5768 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/0.4706, allocations: 1.486 MB / 0.5783 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4706, allocations: 7.844 kB / 0.5783 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4706, allocations: 5.125 kB / 0.5783 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.4706, allocations: 4.969 kB / 0.5783 GB, free: 9.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006098/0.4767, allocations: 2.141 MB / 0.5804 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4768, allocations: 6.844 kB / 0.5804 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.4771, allocations: 76.61 kB / 0.5805 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005044/0.4821, allocations: 0.9295 MB / 0.5814 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/0.4822, allocations: 16.94 kB / 0.5814 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.4842, allocations: 2.955 MB / 0.5843 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4842, allocations: 1.875 kB / 0.5843 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005522/0.4897, allocations: 1.767 MB / 0.586 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.4901, allocations: 209.4 kB / 0.5862 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.4902, allocations: 13.47 kB / 0.5862 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.4907, allocations: 29.2 kB / 0.5863 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4908, allocations: 50.42 kB / 0.5863 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.4908, allocations: 20.34 kB / 0.5863 GB, free: 4.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005123/0.4914, allocations: 429.4 kB / 0.5867 GB, free: 4.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4914, allocations: 0 / 0.5867 GB, free: 4.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009334/0.4923, allocations: 295.3 kB / 0.587 GB, free: 4.578 MB / 446.1 MB 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.0005527/0.4929, allocations: 398.6 kB / 0.5874 GB, free: 4.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.4944, allocations: 0.705 MB / 0.5881 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4944, allocations: 5.625 kB / 0.5881 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.4951, allocations: 443.3 kB / 0.5885 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.4963, allocations: 222.9 kB / 0.5887 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.4988, allocations: 1.889 MB / 0.5906 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4993, allocations: 0.9516 MB / 0.5915 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.4995, allocations: 64.52 kB / 0.5916 GB, free: 1.824 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4995, allocations: 0 / 0.5916 GB, free: 1.824 MB / 446.1 MB Notification: Performance of Templates: time 0.0292/0.5287, allocations: 22.27 MB / 0.6133 GB, free: 14.45 MB / 478.1 MB 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 -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