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.00148/0.00148, allocations: 116.1 kB / 17.07 MB, free: 5.996 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.001459/0.001459, allocations: 193.4 kB / 18 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9385/0.9385, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.41 kB / 0.5705 GB, free: 39.94 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1334, allocations: 80.7 MB / 0.6493 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20): time 0.002423/0.1359, allocations: 1.332 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.1361, allocations: 47.78 kB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1362, allocations: 0 / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.114e-05/0.1363, allocations: 0 / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.1364, allocations: 38.17 kB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.1365, allocations: 7.984 kB / 0.6507 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.137, allocations: 351.4 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.325e-05/0.1371, allocations: 4 kB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1372, allocations: 123.8 kB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1375, allocations: 167.6 kB / 0.6513 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1375, allocations: 16 kB / 0.6514 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.1376, allocations: 20 kB / 0.6514 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.1377, allocations: 111.8 kB / 0.6515 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1379, allocations: 127.5 kB / 0.6516 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1381, allocations: 199.6 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1382, allocations: 4 kB / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1382, allocations: 0 / 0.6518 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.1382, allocations: 4 kB / 0.6518 GB, free: 10.92 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.002159/0.1403, allocations: 0.8622 MB / 0.6526 GB, free: 10 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.1404, allocations: 8.031 kB / 0.6527 GB, free: 9.992 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.1406, allocations: 50.73 kB / 0.6527 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.1407, allocations: 20.84 kB / 0.6527 GB, free: 9.914 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.141, allocations: 220.1 kB / 0.6529 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.141, allocations: 16.7 kB / 0.6529 GB, free: 9.645 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.1411, allocations: 36.33 kB / 0.653 GB, free: 9.609 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.1415, allocations: 232.5 kB / 0.6532 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1415, allocations: 7.938 kB / 0.6532 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1415, allocations: 8 kB / 0.6532 GB, free: 9.363 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.1415, allocations: 4 kB / 0.6532 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.1418, allocations: 128.5 kB / 0.6533 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1446, allocations: 1.809 MB / 0.6551 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/0.1508, allocations: 0.9146 MB / 0.656 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.151, allocations: 96.75 kB / 0.6561 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.1511, allocations: 0 / 0.6561 GB, free: 6.121 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1511, allocations: 34.56 kB / 0.6561 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/0.1511, allocations: 0 / 0.6561 GB, free: 6.078 MB / 0.4983 GB Notification: Performance of matching and sorting (n=19): time 0.0006361/0.1518, allocations: 321.3 kB / 0.6564 GB, free: 5.762 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1518, allocations: 59.41 kB / 0.6565 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.1519, allocations: 117.8 kB / 0.6566 GB, free: 5.566 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.1519, allocations: 33.7 kB / 0.6566 GB, free: 5.527 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.152, allocations: 116.5 kB / 0.6568 GB, free: 5.41 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.1521, allocations: 99.2 kB / 0.6568 GB, free: 5.312 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.1522, allocations: 65.69 kB / 0.6569 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1524, allocations: 326.8 kB / 0.6572 GB, free: 4.914 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1526, allocations: 111.9 kB / 0.6573 GB, free: 4.805 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1528, allocations: 128.2 kB / 0.6574 GB, free: 4.68 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.1532, allocations: 257.7 kB / 0.6577 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1532, allocations: 0 / 0.6577 GB, free: 4.426 MB / 0.4983 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005407/0.1537, allocations: 344.6 kB / 0.658 GB, free: 4.082 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1538, allocations: 4 kB / 0.658 GB, free: 4.078 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1538, allocations: 4 kB / 0.658 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1538, allocations: 0 / 0.658 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.1543, allocations: 79.88 kB / 0.6581 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1543, allocations: 0 / 0.6581 GB, free: 3.996 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1546, allocations: 39.81 kB / 0.6581 GB, free: 3.957 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1547, allocations: 12 kB / 0.6582 GB, free: 3.945 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.0001352/0.1548, allocations: 138.6 kB / 0.6583 GB, free: 3.801 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.1549, allocations: 15.89 kB / 0.6583 GB, free: 3.785 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.155, allocations: 36.84 kB / 0.6583 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.155, allocations: 4 kB / 0.6583 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.155, allocations: 0 / 0.6583 GB, free: 3.742 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.155, allocations: 3.984 kB / 0.6583 GB, free: 3.738 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.1554, allocations: 285.4 kB / 0.6586 GB, free: 3.41 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1554, allocations: 4 kB / 0.6586 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.1559, allocations: 55.89 kB / 0.6587 GB, free: 3.352 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1559, allocations: 4 kB / 0.6587 GB, free: 3.348 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.1559, allocations: 15.98 kB / 0.6587 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1559, allocations: 0 / 0.6587 GB, free: 3.332 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1559, allocations: 4 kB / 0.6587 GB, free: 3.328 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.1566, allocations: 432 kB / 0.6591 GB, free: 2.891 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1566, allocations: 89.22 kB / 0.6592 GB, free: 2.785 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1567, allocations: 4 kB / 0.6592 GB, free: 2.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.157, allocations: 31.95 kB / 0.6592 GB, free: 2.75 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.1571, allocations: 7.984 kB / 0.6592 GB, free: 2.742 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.1571, allocations: 4.375 kB / 0.6592 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.1572, allocations: 95.2 kB / 0.6593 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1572, allocations: 0 / 0.6593 GB, free: 2.645 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003687/0.1575, allocations: 87.89 kB / 0.6594 GB, free: 2.559 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.001061/0.1586, allocations: 0.9812 MB / 0.6604 GB, free: 1.555 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004648/0.1591, allocations: 259.9 kB / 0.6606 GB, free: 1.301 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1591, allocations: 4 kB / 0.6606 GB, free: 1.297 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.1593, allocations: 111.8 kB / 0.6607 GB, free: 1.188 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1596, allocations: 43.95 kB / 0.6608 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.1641, allocations: 3.641 MB / 0.6643 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1645, allocations: 0.7442 MB / 0.6651 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0002629/0.1648, allocations: 93.47 kB / 0.6651 GB, free: 12.55 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.165, allocations: 51.42 kB / 0.6652 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of SimCode: time 6.11e-07/0.165, allocations: 288 / 0.6652 GB, free: 12.5 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.1948, allocations: 5.722 MB / 0.6708 GB, free: 6.988 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.416, allocations: 10.89 kB / 0.6708 GB, free: 6.98 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