Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20",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.001242/0.001242, allocations: 112 kB / 17.07 MB, free: 5.992 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.001215/0.001215, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8315/0.8315, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.62 kB / 0.5705 GB, free: 39.99 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1218, allocations: 80.69 MB / 0.6493 GB, free: 13.47 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20): time 0.002042/0.1239, allocations: 1.324 MB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.1241, allocations: 43.86 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.1241, allocations: 0 / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.344e-05/0.1242, allocations: 7.922 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 8.134e-05/0.1243, allocations: 26.19 kB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.1245, allocations: 15.95 kB / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1248, allocations: 343.4 kB / 0.651 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1248, allocations: 8 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1249, allocations: 119.8 kB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1252, allocations: 179.5 kB / 0.6513 GB, free: 11.41 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.871e-05/0.1252, allocations: 23.94 kB / 0.6514 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.774e-05/0.1253, allocations: 16 kB / 0.6514 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1254, allocations: 111.8 kB / 0.6515 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1255, allocations: 127.5 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.1257, allocations: 203.6 kB / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1257, allocations: 0 / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1257, allocations: 0 / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1258, allocations: 4 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002022/0.1278, allocations: 0.8544 MB / 0.6526 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1278, allocations: 16.03 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.1279, allocations: 46.73 kB / 0.6527 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1279, allocations: 20.84 kB / 0.6527 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1282, allocations: 224.1 kB / 0.6529 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1282, allocations: 20.7 kB / 0.6529 GB, free: 9.656 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.1283, allocations: 32.33 kB / 0.653 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.1287, allocations: 232.6 kB / 0.6532 GB, free: 9.395 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1287, allocations: 7.875 kB / 0.6532 GB, free: 9.387 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1287, allocations: 4 kB / 0.6532 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1287, allocations: 4 kB / 0.6532 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.1289, allocations: 132.5 kB / 0.6533 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.1314, allocations: 1.805 MB / 0.6551 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006044/0.1375, allocations: 0.9224 MB / 0.656 GB, free: 6.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1376, allocations: 96.73 kB / 0.6561 GB, free: 6.133 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.1377, allocations: 4 kB / 0.6561 GB, free: 6.129 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1377, allocations: 34.56 kB / 0.6561 GB, free: 6.086 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.1377, allocations: 0 / 0.6561 GB, free: 6.086 MB / 0.4983 GB Notification: Performance of matching and sorting (n=19): time 0.0005872/0.1383, allocations: 313.4 kB / 0.6564 GB, free: 5.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1383, allocations: 55.34 kB / 0.6565 GB, free: 5.711 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.949e-05/0.1384, allocations: 121.8 kB / 0.6566 GB, free: 5.582 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1385, allocations: 33.7 kB / 0.6566 GB, free: 5.543 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.1385, allocations: 120.5 kB / 0.6567 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.1386, allocations: 91.22 kB / 0.6568 GB, free: 5.332 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.776e-05/0.1387, allocations: 62.08 kB / 0.6569 GB, free: 5.266 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1388, allocations: 330.8 kB / 0.6572 GB, free: 4.934 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.139, allocations: 111.9 kB / 0.6573 GB, free: 4.824 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.1392, allocations: 120.2 kB / 0.6574 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.1396, allocations: 265.6 kB / 0.6577 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1396, allocations: 4 kB / 0.6577 GB, free: 4.441 MB / 0.4983 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004876/0.1401, allocations: 344.6 kB / 0.658 GB, free: 4.098 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1401, allocations: 7.984 kB / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1401, allocations: 0 / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1401, allocations: 0 / 0.658 GB, free: 4.09 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.1406, allocations: 79.88 kB / 0.6581 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1406, allocations: 4 kB / 0.6581 GB, free: 4.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1409, allocations: 35.81 kB / 0.6581 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1409, allocations: 8 kB / 0.6581 GB, free: 3.965 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.141, allocations: 146.6 kB / 0.6583 GB, free: 3.812 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1411, allocations: 11.89 kB / 0.6583 GB, free: 3.801 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.851e-05/0.1412, allocations: 40.84 kB / 0.6583 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1412, allocations: 0 / 0.6583 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1412, allocations: 0 / 0.6583 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1412, allocations: 0 / 0.6583 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.1415, allocations: 289.3 kB / 0.6586 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1415, allocations: 0 / 0.6586 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.142, allocations: 59.94 kB / 0.6587 GB, free: 3.367 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1421, allocations: 0 / 0.6587 GB, free: 3.367 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.1421, allocations: 15.98 kB / 0.6587 GB, free: 3.352 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1421, allocations: 0 / 0.6587 GB, free: 3.352 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1421, allocations: 0 / 0.6587 GB, free: 3.352 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.1427, allocations: 440 kB / 0.6591 GB, free: 2.906 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.1427, allocations: 85.23 kB / 0.6592 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.1428, allocations: 11.98 kB / 0.6592 GB, free: 2.793 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.1431, allocations: 27.95 kB / 0.6592 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1431, allocations: 11.98 kB / 0.6592 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.1432, allocations: 4 kB / 0.6592 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.1432, allocations: 91.27 kB / 0.6593 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1432, allocations: 0 / 0.6593 GB, free: 2.66 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003026/0.1435, allocations: 87.89 kB / 0.6594 GB, free: 2.574 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19]) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000823/0.1444, allocations: 0.9776 MB / 0.6604 GB, free: 1.574 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004085/0.1448, allocations: 255.9 kB / 0.6606 GB, free: 1.324 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1448, allocations: 3.938 kB / 0.6606 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.145, allocations: 111.8 kB / 0.6607 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1453, allocations: 47.95 kB / 0.6608 GB, free: 1.164 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.149, allocations: 3.645 MB / 0.6643 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.1493, allocations: 0.7402 MB / 0.665 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.000261/0.1496, allocations: 97.45 kB / 0.6651 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1497, allocations: 55.42 kB / 0.6652 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of SimCode: time 4.81e-07/0.1497, allocations: 4 kB / 0.6652 GB, free: 12.51 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1712, allocations: 5.704 MB / 0.6708 GB, free: 7.012 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.248/7.419, allocations: 21.77 kB / 0.6708 GB, free: 6.996 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.csv --start-time 0 --stop-time 1500 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTI_FD_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches