Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.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.OneDHeatTransferTT_FD_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_10",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.001206/0.001206, allocations: 113 kB / 17.07 MB, free: 6.008 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.001185/0.001185, allocations: 191 kB / 18 MB, free: 5.09 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.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8/0.8, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.73 kB / 0.5705 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 80.69 MB / 0.6493 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10): time 0.001975/0.1222, allocations: 1.336 MB / 0.6506 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.1224, allocations: 47.86 kB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.1225, allocations: 0 / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.1225, allocations: 7.922 kB / 0.6507 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.1226, allocations: 30.12 kB / 0.6507 GB, free: 12.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.1228, allocations: 11.97 kB / 0.6507 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.123, allocations: 187.6 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.123, allocations: 3.984 kB / 0.6509 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.1231, allocations: 63.89 kB / 0.651 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1232, allocations: 83.81 kB / 0.6511 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1233, allocations: 12 kB / 0.6511 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/0.1233, allocations: 8 kB / 0.6511 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.1234, allocations: 55.84 kB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.33e-05/0.1234, allocations: 59.78 kB / 0.6512 GB, free: 11.58 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.1236, allocations: 103.9 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1236, allocations: 4 kB / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.645e-06/0.1236, allocations: 0 / 0.6513 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1236, allocations: 3.938 kB / 0.6513 GB, free: 11.47 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001074/0.1247, allocations: 0.546 MB / 0.6518 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1247, allocations: 8.031 kB / 0.6518 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1248, allocations: 46.72 kB / 0.6519 GB, free: 10.81 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1248, allocations: 12.89 kB / 0.6519 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.125, allocations: 192.2 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.125, allocations: 4.375 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1251, allocations: 12.38 kB / 0.6521 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1253, allocations: 130.1 kB / 0.6522 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1253, allocations: 3.938 kB / 0.6522 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1253, allocations: 0 / 0.6522 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1253, allocations: 4 kB / 0.6522 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1254, allocations: 55.97 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1266, allocations: 0.898 MB / 0.6531 GB, free: 9.312 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.1286, allocations: 314.2 kB / 0.6534 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.1287, allocations: 44.83 kB / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1287, allocations: 0 / 0.6535 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.1287, allocations: 30.56 kB / 0.6535 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.1287, allocations: 0 / 0.6535 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003055/0.129, allocations: 157.7 kB / 0.6537 GB, free: 8.75 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1291, allocations: 59.34 kB / 0.6537 GB, free: 8.68 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.1292, allocations: 121.8 kB / 0.6538 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1292, allocations: 29.7 kB / 0.6539 GB, free: 8.516 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.1292, allocations: 100 kB / 0.654 GB, free: 8.414 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1293, allocations: 35.7 kB / 0.654 GB, free: 8.379 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.1293, allocations: 37.64 kB / 0.654 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.1294, allocations: 322.8 kB / 0.6543 GB, free: 8.012 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.1295, allocations: 51.91 kB / 0.6544 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.1296, allocations: 47.97 kB / 0.6544 GB, free: 7.914 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.1298, allocations: 123.6 kB / 0.6546 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1298, allocations: 0 / 0.6546 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002261/0.13, allocations: 157.5 kB / 0.6547 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.13, allocations: 8 kB / 0.6547 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.13, allocations: 3.984 kB / 0.6547 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.13, allocations: 0 / 0.6547 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1302, allocations: 31.92 kB / 0.6548 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1303, allocations: 0 / 0.6548 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1304, allocations: 23.81 kB / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1304, allocations: 4 kB / 0.6548 GB, free: 7.562 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 (16): * Single equations (assignments): 16 * 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 8.205e-05/0.1305, allocations: 126.7 kB / 0.6549 GB, free: 7.43 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1305, allocations: 7.953 kB / 0.6549 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.1306, allocations: 16.38 kB / 0.6549 GB, free: 7.406 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1306, allocations: 3.938 kB / 0.6549 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1306, allocations: 0 / 0.6549 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1306, allocations: 7.984 kB / 0.6549 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.1308, allocations: 205.6 kB / 0.6551 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1308, allocations: 0 / 0.6551 GB, free: 7.145 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.131, allocations: 23.98 kB / 0.6552 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1311, allocations: 7.984 kB / 0.6552 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.1311, allocations: 4 kB / 0.6552 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1311, allocations: 3.938 kB / 0.6552 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1311, allocations: 3.938 kB / 0.6552 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.1314, allocations: 255.4 kB / 0.6554 GB, free: 6.836 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1314, allocations: 77.11 kB / 0.6555 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1315, allocations: 15.91 kB / 0.6555 GB, free: 6.727 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1316, allocations: 7.984 kB / 0.6555 GB, free: 6.719 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1316, allocations: 12 kB / 0.6555 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1317, allocations: 0 / 0.6555 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.1317, allocations: 95.2 kB / 0.6556 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1317, allocations: 4 kB / 0.6556 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002358/0.132, allocations: 39.89 kB / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8]) * 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 (8): * Single equations (assignments): 8 * 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.0004941/0.1325, allocations: 0.8034 MB / 0.6564 GB, free: 5.742 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1327, allocations: 107.9 kB / 0.6565 GB, free: 5.637 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1327, allocations: 0 / 0.6565 GB, free: 5.637 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.1328, allocations: 47.92 kB / 0.6566 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.133, allocations: 20.92 kB / 0.6566 GB, free: 5.57 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.135, allocations: 2.267 MB / 0.6588 GB, free: 3.223 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1353, allocations: 0.708 MB / 0.6595 GB, free: 2.488 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.1354, allocations: 40.52 kB / 0.6596 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.1355, allocations: 31.44 kB / 0.6596 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of SimCode: time 1.903e-06/0.1355, allocations: 0 / 0.6596 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.1557, allocations: 3.358 MB / 0.6629 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.351, allocations: 8.359 kB / 0.6629 GB, free: 15.25 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10_res.csv --start-time 0 --stop-time 350 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 ScalableTestSuite_ScalableTestSuite_Thermal_HeatConduction_ScaledExperiments_OneDHeatTransferTT_FD_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTT_FD_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches