Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.621/1.621, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8515/0.8515, allocations: 93.72 MB / 384.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.002411, allocations: 89.03 kB / 463.5 MB, free: 21.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1714, allocations: 68.26 MB / 0.5193 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02364/0.1951, allocations: 17.33 MB / 0.5362 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009688/0.2049, allocations: 6.785 MB / 0.5429 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007963/0.2058, allocations: 23.88 kB / 0.5429 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009384/0.2067, allocations: 286 kB / 0.5432 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.2088, allocations: 0.5356 MB / 0.5437 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2099, allocations: 358.7 kB / 0.544 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2112, allocations: 0.7971 MB / 0.5448 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.2116, allocations: 165.7 kB / 0.545 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.2122, allocations: 346.4 kB / 0.5453 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003996/0.2127, allocations: 294.5 kB / 0.5456 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.2128, allocations: 40 kB / 0.5456 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.2141, allocations: 359.6 kB / 0.5459 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.2143, allocations: 111.4 kB / 0.5461 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.2146, allocations: 298.2 kB / 0.5463 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.216, allocations: 0.8216 MB / 0.5471 GB, free: 10.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.216, allocations: 0 / 0.5471 GB, free: 10.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.216, allocations: 0 / 0.5471 GB, free: 10.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.216, allocations: 0 / 0.5471 GB, free: 10.26 MB / 430.1 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.001885/0.2179, allocations: 0.958 MB / 0.5481 GB, free: 9.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.95e-05/0.218, allocations: 12.03 kB / 0.5481 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.2181, allocations: 82.7 kB / 0.5482 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/0.2183, allocations: 72.09 kB / 0.5482 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/0.2192, allocations: 0.4914 MB / 0.5487 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.2192, allocations: 29 kB / 0.5487 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2193, allocations: 40 kB / 0.5488 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.2202, allocations: 463.8 kB / 0.5492 GB, free: 8.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2202, allocations: 3.984 kB / 0.5492 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.2203, allocations: 16 kB / 0.5492 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.2203, allocations: 8 kB / 0.5492 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.2211, allocations: 407.7 kB / 0.5496 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003042/0.2241, allocations: 2.072 MB / 0.5517 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/0.2249, allocations: 417.2 kB / 0.5521 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.2252, allocations: 184.6 kB / 0.5522 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/0.2271, allocations: 1.407 MB / 0.5536 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.2271, allocations: 38.89 kB / 0.5536 GB, free: 3.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=41): time 2.164e-06/0.2271, allocations: 0 / 0.5536 GB, free: 3.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=41): time 0.006248/0.2334, allocations: 1.459 MB / 0.5551 GB, free: 1.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.2335, allocations: 89.09 kB / 0.5552 GB, free: 1.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.2342, allocations: 471 kB / 0.5556 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.2343, allocations: 37.7 kB / 0.5556 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.2345, allocations: 296.2 kB / 0.5559 GB, free: 0.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2347, allocations: 138 kB / 0.5561 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2348, allocations: 70.12 kB / 0.5561 GB, free: 468 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.235, allocations: 366.8 kB / 0.5565 GB, free: 92 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.2353, allocations: 124.9 kB / 0.5566 GB, free: 15.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.2356, allocations: 185.8 kB / 0.5568 GB, free: 15.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.2362, allocations: 327 kB / 0.5571 GB, free: 15.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2362, allocations: 4 kB / 0.5571 GB, free: 15.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002979/0.2392, allocations: 0.8065 MB / 0.5579 GB, free: 14.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.2393, allocations: 4 kB / 0.5579 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2393, allocations: 4 kB / 0.5579 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.2422, allocations: 493.2 kB / 0.5584 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.2425, allocations: 67.91 kB / 0.5584 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.2448, allocations: 2.2 MB / 0.5606 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.2452, allocations: 35.77 kB / 0.5606 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.2452, allocations: 16 kB / 0.5606 GB, free: 11.62 MB / 446.1 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002905/0.2455, allocations: 167.3 kB / 0.5608 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.2457, allocations: 59.19 kB / 0.5608 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.2488, allocations: 0.874 MB / 0.5617 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.2488, allocations: 7.984 kB / 0.5617 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2488, allocations: 0 / 0.5617 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2488, allocations: 4 kB / 0.5617 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/0.2526, allocations: 1.367 MB / 0.563 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2527, allocations: 4 kB / 0.563 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.2529, allocations: 47.92 kB / 0.5631 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/0.2557, allocations: 0.4894 MB / 0.5636 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.2558, allocations: 12 kB / 0.5636 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002357/0.2581, allocations: 2.201 MB / 0.5657 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2582, allocations: 0 / 0.5657 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/0.2617, allocations: 1.102 MB / 0.5668 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.2621, allocations: 172.2 kB / 0.567 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.721e-05/0.2621, allocations: 8 kB / 0.567 GB, free: 4.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.2624, allocations: 8 kB / 0.567 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.2625, allocations: 35.95 kB / 0.567 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.2626, allocations: 19.88 kB / 0.567 GB, free: 4.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005261/0.2631, allocations: 350.8 kB / 0.5674 GB, free: 4.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2631, allocations: 0 / 0.5674 GB, free: 4.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008248/0.2639, allocations: 187.7 kB / 0.5675 GB, free: 4.211 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.003995/0.2679, allocations: 1.825 MB / 0.5693 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.2691, allocations: 478.6 kB / 0.5698 GB, free: 1.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2691, allocations: 3.938 kB / 0.5698 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.2697, allocations: 322.6 kB / 0.5701 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.2709, allocations: 154.3 kB / 0.5702 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.2826, allocations: 5.277 MB / 0.5754 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.2832, allocations: 0.8629 MB / 0.5762 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000403/0.2836, allocations: 88 kB / 0.5763 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.2839, allocations: 219.3 kB / 0.5765 GB, free: 10.79 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2839, allocations: 0 / 0.5765 GB, free: 10.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3955/0.6795, allocations: 16.25 MB / 0.5924 GB, free: 68.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.84, allocations: 13 kB / 0.5924 GB, free: 68.76 MB / 462.1 MB (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches